[80065] trunk/dports/graphics/gimp-jp2
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jul 3 10:34:56 PDT 2011
Revision: 80065
http://trac.macports.org/changeset/80065
Author: jeremyhu at macports.org
Date: 2011-07-03 10:34:56 -0700 (Sun, 03 Jul 2011)
Log Message:
-----------
gimp-jp2: Fix a build failure due to missing return type
Found by clang. Dev timeout.
Modified Paths:
--------------
trunk/dports/graphics/gimp-jp2/Portfile
Added Paths:
-----------
trunk/dports/graphics/gimp-jp2/files/
trunk/dports/graphics/gimp-jp2/files/INIT_Il8N-return.patch
Modified: trunk/dports/graphics/gimp-jp2/Portfile
===================================================================
--- trunk/dports/graphics/gimp-jp2/Portfile 2011-07-03 17:32:44 UTC (rev 80064)
+++ trunk/dports/graphics/gimp-jp2/Portfile 2011-07-03 17:34:56 UTC (rev 80065)
@@ -28,6 +28,8 @@
depends_lib path:lib/libgimp-2.0:gimp2 \
port:openjpeg
+patchfiles INIT_Il8N-return.patch
+
post-patch {
reinplace "s|#include <malloc.h>||" ${worksrcpath}/src/main.c
reinplace "s|#include \"openjpeg.h\"|#include <openjpeg.h>|" ${worksrcpath}/src/interface.h \
Added: trunk/dports/graphics/gimp-jp2/files/INIT_Il8N-return.patch
===================================================================
--- trunk/dports/graphics/gimp-jp2/files/INIT_Il8N-return.patch (rev 0)
+++ trunk/dports/graphics/gimp-jp2/files/INIT_Il8N-return.patch 2011-07-03 17:34:56 UTC (rev 80065)
@@ -0,0 +1,11 @@
+--- src/main.c.orig 2011-06-30 09:12:05.000000000 -0700
++++ src/main.c 2011-06-30 09:13:12.000000000 -0700
+@@ -217,7 +217,7 @@ run (const gchar * name,
+ values[0].data.d_status = status;
+ }
+
+-INIT_Il8N ()
++static void INIT_Il8N ()
+ {
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ #ifdef HAVE_BIND_TEXTDOMAIN_CODESET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110703/abf88c30/attachment.html>
More information about the macports-changes
mailing list