[97114] trunk/dports/science/geomview

raphael at macports.org raphael at macports.org
Mon Aug 27 13:31:58 PDT 2012


Revision: 97114
          https://trac.macports.org/changeset/97114
Author:   raphael at macports.org
Date:     2012-08-27 13:31:58 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
geomview: fix build on Mountain Lion; closes #35856

Modified Paths:
--------------
    trunk/dports/science/geomview/Portfile

Added Paths:
-----------
    trunk/dports/science/geomview/files/patch-glob.c.diff

Modified: trunk/dports/science/geomview/Portfile
===================================================================
--- trunk/dports/science/geomview/Portfile	2012-08-27 20:28:03 UTC (rev 97113)
+++ trunk/dports/science/geomview/Portfile	2012-08-27 20:31:58 UTC (rev 97114)
@@ -27,7 +27,8 @@
                     rmd160 adf7c8ba745db9ff003e3ed74089379b2a72c712
 patchfiles          patch-iobuffer.c.diff \
                     patch-geomview.texi.diff \
-                    patch-geomview-pt_BR.texi.diff
+                    patch-geomview-pt_BR.texi.diff \
+                    patch-glob.c.diff
 
 post-extract {      delete ${worksrcpath}/doc/geomview.html
                     delete ${worksrcpath}/doc/geomview-pt_BR.html

Added: trunk/dports/science/geomview/files/patch-glob.c.diff
===================================================================
--- trunk/dports/science/geomview/files/patch-glob.c.diff	                        (rev 0)
+++ trunk/dports/science/geomview/files/patch-glob.c.diff	2012-08-27 20:31:58 UTC (rev 97114)
@@ -0,0 +1,11 @@
+--- src/bin/animate/glob.c.orig	2012-08-27 22:16:52.000000000 +0200
++++ src/bin/animate/glob.c	2012-08-27 22:17:57.000000000 +0200
+@@ -41,7 +41,7 @@
+ #include <errno.h>
+ #include <pwd.h>
+ 
+-#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__CYGWIN__)
++#if !defined(dirfd) && !defined(__APPLE__) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__CYGWIN__)
+ #define dirfd(dirp)  ((dirp)->dd_fd)
+ #endif
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/38081b1b/attachment.html>


More information about the macports-changes mailing list