Ticket #42796: Portfile-gdb-apple.diff

File Portfile-gdb-apple.diff, 1.1 KB (added by rphoover@…, 10 years ago)

Patch for Yosemite

  • Portfile

    old new  
    4141
    4242depends_build   port:gettext port:zlib port:flex port:texinfo
    4343
     44depends_lib     port:libiconv port:ncurses port:sqlite3
     45
     46patchfiles      patch-macosx-nat.c.diff
     47
    4448worksrcdir      ${worksrcdir}/src
    4549
    4650post-patch {
     
    5963    --disable-werror
    6064
    6165build.args \
    62     MAKEINFO="${prefix}/bin/makeinfo" \
     66    MAKEINFO="/usr/bin/makeinfo" \
    6367    LEXLIB="${prefix}/lib/libfl.a"
    6468
    6569destroot.args \
    66     MAKEINFO="${prefix}/bin/makeinfo" \
     70    MAKEINFO="/usr/bin/makeinfo" \
    6771    LEXLIB="${prefix}/lib/libfl.a"
    6872
    6973post-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>