[88920] trunk/dports/graphics/whirlgif
ryandesign at macports.org
ryandesign at macports.org
Sat Jan 14 20:23:16 PST 2012
Revision: 88920
http://trac.macports.org/changeset/88920
Author: ryandesign at macports.org
Date: 2012-01-14 20:23:13 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
whirlgif: add patch to fix return type of main() to fix build with stricter clang compiler; see #32870
Modified Paths:
--------------
trunk/dports/graphics/whirlgif/Portfile
Added Paths:
-----------
trunk/dports/graphics/whirlgif/files/
trunk/dports/graphics/whirlgif/files/patch-whirlgif.c.diff
Modified: trunk/dports/graphics/whirlgif/Portfile
===================================================================
--- trunk/dports/graphics/whirlgif/Portfile 2012-01-15 04:12:53 UTC (rev 88919)
+++ trunk/dports/graphics/whirlgif/Portfile 2012-01-15 04:23:13 UTC (rev 88920)
@@ -17,6 +17,8 @@
extract.mkdir yes
+patchfiles patch-whirlgif.c.diff
+
use_configure no
build.args CC=${configure.cc}
Added: trunk/dports/graphics/whirlgif/files/patch-whirlgif.c.diff
===================================================================
--- trunk/dports/graphics/whirlgif/files/patch-whirlgif.c.diff (rev 0)
+++ trunk/dports/graphics/whirlgif/files/patch-whirlgif.c.diff 2012-01-15 04:23:13 UTC (rev 88920)
@@ -0,0 +1,11 @@
+--- whirlgif.c.orig 1999-02-22 13:33:18.000000000 -0600
++++ whirlgif.c 2012-01-14 22:20:45.000000000 -0600
+@@ -96,7 +96,7 @@
+ return((i-j)*(i-j));
+ }
+
+-void main(argc, argv)
++int main(argc, argv)
+ int argc;
+ char *argv[];
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/f7def1fd/attachment-0001.html>
More information about the macports-changes
mailing list