summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-09-25 10:54:43 +0000
committerFabian Groffen <grobian@gentoo.org>2011-09-25 10:54:43 +0000
commit7897b82c54542f9b0ab288b3b107c0ad369aab6c (patch)
tree01a75faa3b4b74a880ded28816edc10ebfebaed2 /sys-devel/gdb-apple/files
parentMarked stable on AMD64 based on arch testing by Ian "idella4" Delaney, Elijah... (diff)
downloadgentoo-2-7897b82c54542f9b0ab288b3b107c0ad369aab6c.tar.gz
gentoo-2-7897b82c54542f9b0ab288b3b107c0ad369aab6c.tar.bz2
gentoo-2-7897b82c54542f9b0ab288b3b107c0ad369aab6c.zip
Add patch to fix compilation on Darwin prior OS X Lion, bug #382337
(Portage version: 2.2.01.19295-prefix/cvs/Darwin i386)
Diffstat (limited to 'sys-devel/gdb-apple/files')
-rw-r--r--sys-devel/gdb-apple/files/gdb-apple-1705-darwin8-10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-devel/gdb-apple/files/gdb-apple-1705-darwin8-10.patch b/sys-devel/gdb-apple/files/gdb-apple-1705-darwin8-10.patch
new file mode 100644
index 000000000000..32247431fe89
--- /dev/null
+++ b/sys-devel/gdb-apple/files/gdb-apple-1705-darwin8-10.patch
@@ -0,0 +1,11 @@
+--- src/gdb/macosx/macosx-nat-dyld.c
++++ src/gdb/macosx/macosx-nat-dyld.c
+@@ -788,7 +788,7 @@
+ }
+ else
+ {
+-#if defined (NM_NEXTSTEP)
++#if defined (NM_NEXTSTEP) && defined(TASK_DYLD_INFO_COUNT)
+ if (macosx_status->task == TASK_NULL)
+ return 0;
+