[127586] trunk/dports/devel/gdb-apple

jeremyhu at macports.org jeremyhu at macports.org
Wed Oct 29 23:31:05 PDT 2014


Revision: 127586
          https://trac.macports.org/changeset/127586
Author:   jeremyhu at macports.org
Date:     2014-10-29 23:31:05 -0700 (Wed, 29 Oct 2014)
Log Message:
-----------
gdb-apple: Yosemite build fix (#42796)

Modified Paths:
--------------
    trunk/dports/devel/gdb-apple/Portfile

Added Paths:
-----------
    trunk/dports/devel/gdb-apple/files/
    trunk/dports/devel/gdb-apple/files/patch-macosx-nat.c.diff

Modified: trunk/dports/devel/gdb-apple/Portfile
===================================================================
--- trunk/dports/devel/gdb-apple/Portfile	2014-10-30 03:32:32 UTC (rev 127585)
+++ trunk/dports/devel/gdb-apple/Portfile	2014-10-30 06:31:05 UTC (rev 127586)
@@ -41,6 +41,10 @@
 
 depends_build   port:gettext port:zlib port:flex port:texinfo
 
+depends_lib     port:libiconv port:ncurses port:sqlite3
+
+patchfiles	patch-macosx-nat.c.diff
+
 worksrcdir	${worksrcdir}/src
 
 post-patch {
@@ -59,11 +63,11 @@
     --disable-werror
 
 build.args \
-    MAKEINFO="${prefix}/bin/makeinfo" \
+    MAKEINFO="/usr/bin/makeinfo" \
     LEXLIB="${prefix}/lib/libfl.a"
 
 destroot.args \
-    MAKEINFO="${prefix}/bin/makeinfo" \
+    MAKEINFO="/usr/bin/makeinfo" \
     LEXLIB="${prefix}/lib/libfl.a"
 
 post-destroot {

Added: trunk/dports/devel/gdb-apple/files/patch-macosx-nat.c.diff
===================================================================
--- trunk/dports/devel/gdb-apple/files/patch-macosx-nat.c.diff	                        (rev 0)
+++ trunk/dports/devel/gdb-apple/files/patch-macosx-nat.c.diff	2014-10-30 06:31:05 UTC (rev 127586)
@@ -0,0 +1,11 @@
+--- gdb/macosx/macosx-nat-inferior.c	2011-02-17 16:52:47.000000000 -0700
++++ gdb/macosx/macosx-nat-inferior.c	2014-10-29 09:51:48.000000000 -0600
+@@ -50,7 +50,7 @@
+ 
+ #include <sys/ptrace.h>
+ #include <sys/signal.h>
+-#include <machine/setjmp.h>
++#include <setjmp.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <signal.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141029/0d6c118a/attachment.html>


More information about the macports-changes mailing list