diff options
Diffstat (limited to 'sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch')
-rw-r--r-- | sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch new file mode 100644 index 000000000000..05a088b93fb3 --- /dev/null +++ b/sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch @@ -0,0 +1,15 @@ +* 10.4 doesn't have posix spawn, but fortunately it's only used on ARM + (iPhone), so we can still compile it + +--- src/gdb/macosx/macosx-nat-inferior.c ++++ src/gdb/macosx/macosx-nat-inferior.c +@@ -58,7 +58,9 @@ + #include <sys/sysctl.h> + #include <sys/proc.h> + #include <mach/mach_error.h> ++#ifdef TARGET_ARM + #include <spawn.h> ++#endif + + #include "macosx-nat-dyld.h" + #include "macosx-nat-inferior.h" |