[77197] trunk/dports/math/gts
ryandesign at macports.org
ryandesign at macports.org
Tue Mar 22 07:46:04 PDT 2011
Revision: 77197
http://trac.macports.org/changeset/77197
Author: ryandesign at macports.org
Date: 2011-03-22 07:46:02 -0700 (Tue, 22 Mar 2011)
Log Message:
-----------
gts: fix build with latest netpbm; see #28868
Modified Paths:
--------------
trunk/dports/math/gts/Portfile
Added Paths:
-----------
trunk/dports/math/gts/files/
trunk/dports/math/gts/files/patch-examples-happrox.c.diff
Modified: trunk/dports/math/gts/Portfile
===================================================================
--- trunk/dports/math/gts/Portfile 2011-03-22 13:49:25 UTC (rev 77196)
+++ trunk/dports/math/gts/Portfile 2011-03-22 14:46:02 UTC (rev 77197)
@@ -4,6 +4,7 @@
PortGroup muniversal 1.0
name gts
version 0.7.6
+revision 1
categories math
platforms darwin
maintainers nomaintainer
@@ -21,8 +22,10 @@
checksums md5 9f710aefd2ed9b3cc1b1216171fc5a8a
-depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
+depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 port:netpbm
+patchfiles patch-examples-happrox.c.diff
+
if { [variant_isset universal] } {
# Find architectures which will not run on build platform.
if { ${os.arch}=="i386" } {
Added: trunk/dports/math/gts/files/patch-examples-happrox.c.diff
===================================================================
--- trunk/dports/math/gts/files/patch-examples-happrox.c.diff (rev 0)
+++ trunk/dports/math/gts/files/patch-examples-happrox.c.diff 2011-03-22 14:46:02 UTC (rev 77197)
@@ -0,0 +1,11 @@
+--- examples/happrox.c.orig 2006-02-28 21:35:53.000000000 -0600
++++ examples/happrox.c 2011-03-22 09:39:21.000000000 -0500
+@@ -21,7 +21,7 @@
+ #include <stdlib.h>
+ #include <locale.h>
+ #include <string.h>
+-#include <pgm.h>
++#include <netpbm/pgm.h>
+ #include "config.h"
+ #ifdef HAVE_GETOPT_H
+ # include <getopt.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110322/d603f763/attachment.html>
More information about the macports-changes
mailing list