Ticket #42796: Portfile-gdb-apple.diff
File Portfile-gdb-apple.diff, 1.1 KB (added by rphoover@…, 10 years ago) |
---|
-
Portfile
old new 41 41 42 42 depends_build port:gettext port:zlib port:flex port:texinfo 43 43 44 depends_lib port:libiconv port:ncurses port:sqlite3 45 46 patchfiles patch-macosx-nat.c.diff 47 44 48 worksrcdir ${worksrcdir}/src 45 49 46 50 post-patch { … … 59 63 --disable-werror 60 64 61 65 build.args \ 62 MAKEINFO=" ${prefix}/bin/makeinfo" \66 MAKEINFO="/usr/bin/makeinfo" \ 63 67 LEXLIB="${prefix}/lib/libfl.a" 64 68 65 69 destroot.args \ 66 MAKEINFO=" ${prefix}/bin/makeinfo" \70 MAKEINFO="/usr/bin/makeinfo" \ 67 71 LEXLIB="${prefix}/lib/libfl.a" 68 72 69 73 post-destroot { -
files/patch-macosx-nat.c.diff
old new 1 --- gdb/macosx/macosx-nat-inferior.c 2011-02-17 16:52:47.000000000 -0700 2 +++ gdb/macosx/macosx-nat-inferior.c 2014-10-29 09:51:48.000000000 -0600 3 @@ -50,7 +50,7 @@ 4 5 #include <sys/ptrace.h> 6 #include <sys/signal.h> 7 -#include <machine/setjmp.h> 8 +#include <setjmp.h> 9 #include <sys/types.h> 10 #include <unistd.h> 11 #include <signal.h>