[88456] trunk/dports/graphics/swftools/files/patch-configure.diff

ryandesign at macports.org ryandesign at macports.org
Mon Jan 2 18:33:56 PST 2012


Revision: 88456
          http://trac.macports.org/changeset/88456
Author:   ryandesign at macports.org
Date:     2012-01-02 18:33:54 -0800 (Mon, 02 Jan 2012)
Log Message:
-----------
swftools: fix compiler test so it compiles with clang; see #32732

Modified Paths:
--------------
    trunk/dports/graphics/swftools/files/patch-configure.diff

Modified: trunk/dports/graphics/swftools/files/patch-configure.diff
===================================================================
--- trunk/dports/graphics/swftools/files/patch-configure.diff	2012-01-03 02:25:03 UTC (rev 88455)
+++ trunk/dports/graphics/swftools/files/patch-configure.diff	2012-01-03 02:33:54 UTC (rev 88456)
@@ -1,5 +1,5 @@
---- configure.orig	2012-01-02 20:19:33.000000000 -0600
-+++ configure	2012-01-02 20:20:12.000000000 -0600
+--- configure.orig	2010-06-05 21:57:15.000000000 -0500
++++ configure	2012-01-02 20:29:10.000000000 -0600
 @@ -2075,15 +2075,6 @@
  	CXXFLAGS="$CXXFLAGS -fno-rtti"
  	SHARED="-bundle"
@@ -16,6 +16,15 @@
  	;;
  esac
  
+@@ -3404,7 +3395,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ 
+-int main (int argc, char*argv)
++int main (int argc, char*argv[])
+ {
+     int a,b;
+     b=3;
 @@ -8230,7 +8221,7 @@
    ;;
    *)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120102/63e53708/attachment.html>


More information about the macports-changes mailing list