summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryon Roche <kain@gentoo.org>2002-05-06 21:16:26 +0000
committerBryon Roche <kain@gentoo.org>2002-05-06 21:16:26 +0000
commite11db5d728cc9b9ada93aeca08f66c98f342cdae (patch)
treecbeeeae722b60fbb77e14d729340cb4939f38318 /sys-devel/gdb/files
parentPortage 1.9.7 and cleanups (diff)
downloadhistorical-e11db5d728cc9b9ada93aeca08f66c98f342cdae.tar.gz
historical-e11db5d728cc9b9ada93aeca08f66c98f342cdae.tar.bz2
historical-e11db5d728cc9b9ada93aeca08f66c98f342cdae.zip
PPC compatibility patch to fix some bool typedef stuff.
Diffstat (limited to 'sys-devel/gdb/files')
-rw-r--r--sys-devel/gdb/files/digest-gdb-5.1.1-r11
-rw-r--r--sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch26
2 files changed, 27 insertions, 0 deletions
diff --git a/sys-devel/gdb/files/digest-gdb-5.1.1-r1 b/sys-devel/gdb/files/digest-gdb-5.1.1-r1
new file mode 100644
index 000000000000..ae3b64a8f9cf
--- /dev/null
+++ b/sys-devel/gdb/files/digest-gdb-5.1.1-r1
@@ -0,0 +1 @@
+MD5 805163efd455663745532c12893a96ca gdb-5.1.1.tar.gz 13874218
diff --git a/sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch b/sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch
new file mode 100644
index 000000000000..d9f28337ded9
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch
@@ -0,0 +1,26 @@
+diff -urN gdb-5.1.1.orig/bfd/bfd-in.h gdb-5.1.1/bfd/bfd-in.h
+--- gdb-5.1.1.orig/bfd/bfd-in.h Tue Jun 19 00:05:10 2001
++++ gdb-5.1.1/bfd/bfd-in.h Mon May 6 13:04:05 2002
+@@ -99,7 +99,8 @@
+ #define TRUE_FALSE_ALREADY_DEFINED
+ #endif /* MPW */
+ #ifndef TRUE_FALSE_ALREADY_DEFINED
+-typedef enum bfd_boolean {false, true} boolean;
++#include <stdbool.h>
++typedef enum bfd_boolean {bfd_fffalse, bfd_tttrue} boolean;
+ #define BFD_TRUE_FALSE
+ #else
+ /* Use enum names that will appear nowhere else. */
+diff -urN gdb-5.1.1.orig/bfd/bfd-in2.h gdb-5.1.1/bfd/bfd-in2.h
+--- gdb-5.1.1.orig/bfd/bfd-in2.h Thu Jul 12 03:24:14 2001
++++ gdb-5.1.1/bfd/bfd-in2.h Mon May 6 13:04:05 2002
+@@ -99,7 +99,8 @@
+ #define TRUE_FALSE_ALREADY_DEFINED
+ #endif /* MPW */
+ #ifndef TRUE_FALSE_ALREADY_DEFINED
+-typedef enum bfd_boolean {false, true} boolean;
++#include <stdbool.h>
++typedef enum bfd_boolean {bfd_fffalse, bfd_tttrue} boolean;
+ #define BFD_TRUE_FALSE
+ #else
+ /* Use enum names that will appear nowhere else. */