[52098] trunk/dports/devel/cgdb

macsforever2000 at macports.org macsforever2000 at macports.org
Tue Jun 9 20:03:43 PDT 2009


Revision: 52098
          http://trac.macports.org/changeset/52098
Author:   macsforever2000 at macports.org
Date:     2009-06-09 20:03:43 -0700 (Tue, 09 Jun 2009)
Log Message:
-----------
Hack to fix build failure. (#15844)

Modified Paths:
--------------
    trunk/dports/devel/cgdb/Portfile

Added Paths:
-----------
    trunk/dports/devel/cgdb/files/
    trunk/dports/devel/cgdb/files/patch-various-util-src-pseudo.c.diff

Modified: trunk/dports/devel/cgdb/Portfile
===================================================================
--- trunk/dports/devel/cgdb/Portfile	2009-06-10 02:55:14 UTC (rev 52097)
+++ trunk/dports/devel/cgdb/Portfile	2009-06-10 03:03:43 UTC (rev 52098)
@@ -18,6 +18,8 @@
 checksums       md5  bddcaaee7b20ab2c17f1f4e197db74c0 \
                 sha1 5f1246d151dc419aa08890291175b4b2094e62c9
 
+patchfiles      patch-various-util-src-pseudo.c.diff
+
 depends_lib     port:ncurses port:readline
 
 configure.args  --infodir=${prefix}/share/info \

Added: trunk/dports/devel/cgdb/files/patch-various-util-src-pseudo.c.diff
===================================================================
--- trunk/dports/devel/cgdb/files/patch-various-util-src-pseudo.c.diff	                        (rev 0)
+++ trunk/dports/devel/cgdb/files/patch-various-util-src-pseudo.c.diff	2009-06-10 03:03:43 UTC (rev 52098)
@@ -0,0 +1,19 @@
+/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cgdb/work/cgdb-0.6.4 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cgdb
+--- various/util/src/pseudo.c.orig	2009-05-24 14:59:19.000000000 -0700
++++ various/util/src/pseudo.c	2009-05-24 14:59:55.000000000 -0700
+@@ -331,6 +331,7 @@
+ 
+ #ifndef HAVE_CYGWIN 
+ #ifndef HAVE_LINUX /* linux does not use the streams module */
++#ifndef __APPLE__
+ 	/*
+ 	 * Push the appropriate streams modules, as described in Solaris pts(7).
+ 	 * HP-UX pts(7) doesn't have ttcompat module.
+@@ -359,6 +360,7 @@
+ #endif
+ #endif
+ #endif
++#endif
+ 
+ #else /* HAVE_DEV_PTMX */
+ #ifdef HAVE_DEV_PTS_AND_PTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090609/9ad73f37/attachment.html>


More information about the macports-changes mailing list