Ticket #43973: patch-darwin-nat.diff

File patch-darwin-nat.diff, 1.1 KB (added by mmpestorich (Mike M Pestorich), 10 years ago)

Here's a patch that will make this compile until it gets fixed upstream.

  • dports/devel/gdb/Portfile

     
    3939
    4040depends_build   port:gettext port:zlib
    4141
     42patchfiles              patch-darwin-nat.c.diff
     43
    4244configure.args \
    4345    --infodir=${prefix}/share/info \
    4446    --mandir=${prefix}/share/man \
  • dports/devel/gdb/files/patch-darwin-nat.c.diff

     
     1--- /opt/macports/var/macports/build/_opt_macports_src_dports_devel_gdb/gdb/work/gdb-7.7.1/gdb/darwin-nat.c.orig        2014-06-15 10:49:39.000000000 -0700
     2+++ /opt/macports/var/macports/build/_opt_macports_src_dports_devel_gdb/gdb/work/gdb-7.7.1/gdb/darwin-nat.c     2014-06-15 10:51:23.000000000 -0700
     3@@ -42,7 +42,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>