diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-10-19 18:02:49 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-10-19 18:02:49 +0000 |
commit | 8a674f146adaf101362568cb194e313d37eaba22 (patch) | |
tree | d6fa065d3bbbac965357a6eabd120ef5d7b527c4 | |
parent | 92b545ba8130dd4b593001fd0eb406c05f881ba5 (diff) | |
download | freebsd-ports-8a674f146adaf101362568cb194e313d37eaba22.zip |
Fix build with KGDB option.
-rw-r--r-- | devel/gdb/files/patch-gdb_common_common-defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-gdb_common_common-defs.h b/devel/gdb/files/patch-gdb_common_common-defs.h new file mode 100644 index 000000000000..71e1795a9dd1 --- /dev/null +++ b/devel/gdb/files/patch-gdb_common_common-defs.h @@ -0,0 +1,12 @@ +--- gdb/common/common-defs.h.orig 2015-07-06 19:57:46 UTC ++++ gdb/common/common-defs.h +@@ -34,7 +34,9 @@ + #include <stdint.h> + #include <string.h> + #include <errno.h> ++#ifndef __FreeBSD__ + #include <alloca.h> ++#endif + #include "ansidecl.h" + #include "libiberty.h" + #include "pathmax.h" |