aboutsummaryrefslogtreecommitdiff
path: root/packages/gdb
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-13 23:56:12 -0700
committerAlexey Neyman <stilor@att.net>2019-03-13 23:56:12 -0700
commit8b8e6b4e5d1932268ac150688e619cef78b75999 (patch)
treed5ec93c77d4587cc0ed3f782b42da6fc566e1926 /packages/gdb
parenta75a770595079619e61e1623698e420427924cf9 (diff)
downloadcrosstool-ng-8b8e6b4e5d1932268ac150688e619cef78b75999.tar.gz
crosstool-ng-8b8e6b4e5d1932268ac150688e619cef78b75999.tar.bz2
crosstool-ng-8b8e6b4e5d1932268ac150688e619cef78b75999.zip
Remove "event-loop.h" inclusion from "top.h"
Older GCCs (e.g. GCC 4.4 in CentOS 6) chokes on having two identical typedefs like this: typedef void *p; typedef void *p; The event-loop.h header does not have a guard against double-inclusion. Not the best solution, but it works and eventually 7.12 will fall into obsolescence anyway. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gdb')
-rw-r--r--packages/gdb/7.12.1/0006-duplicate-typedef.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/gdb/7.12.1/0006-duplicate-typedef.patch b/packages/gdb/7.12.1/0006-duplicate-typedef.patch
new file mode 100644
index 00000000..c7183603
--- /dev/null
+++ b/packages/gdb/7.12.1/0006-duplicate-typedef.patch
@@ -0,0 +1,16 @@
+
+
+---
+ gdb/top.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/gdb/top.h
++++ b/gdb/top.h
+@@ -21,7 +21,6 @@
+ #define TOP_H
+
+ #include "buffer.h"
+-#include "event-loop.h"
+
+ struct tl_interp_info;
+