[93473] trunk/dports/graphics/gimp-jp2

jeremyhu at macports.org jeremyhu at macports.org
Wed May 23 13:21:00 PDT 2012


Revision: 93473
          https://trac.macports.org/changeset/93473
Author:   jeremyhu at macports.org
Date:     2012-05-23 13:20:59 -0700 (Wed, 23 May 2012)
Log Message:
-----------
gimp-jp2: Add a missing include for <stdbool.h>

Modified Paths:
--------------
    trunk/dports/graphics/gimp-jp2/Portfile

Added Paths:
-----------
    trunk/dports/graphics/gimp-jp2/files/stdbool.patch

Modified: trunk/dports/graphics/gimp-jp2/Portfile
===================================================================
--- trunk/dports/graphics/gimp-jp2/Portfile	2012-05-23 20:08:10 UTC (rev 93472)
+++ trunk/dports/graphics/gimp-jp2/Portfile	2012-05-23 20:20:59 UTC (rev 93473)
@@ -33,7 +33,7 @@
 depends_lib     path:lib/pkgconfig/gimp-2.0.pc:gimp2 \
                 port:openjpeg
 
-patchfiles INIT_Il8N-return.patch
+patchfiles INIT_Il8N-return.patch stdbool.patch
 
 post-patch {
     reinplace "s|#include <malloc.h>||" ${worksrcpath}/src/main.c

Added: trunk/dports/graphics/gimp-jp2/files/stdbool.patch
===================================================================
--- trunk/dports/graphics/gimp-jp2/files/stdbool.patch	                        (rev 0)
+++ trunk/dports/graphics/gimp-jp2/files/stdbool.patch	2012-05-23 20:20:59 UTC (rev 93473)
@@ -0,0 +1,10 @@
+--- src/jp2write.c.orig	2012-05-23 13:16:58.000000000 -0700
++++ src/jp2write.c	2012-05-23 13:17:18.000000000 -0700
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <libgimp/gimp.h>
+ #include <libgimp/gimpui.h>
++#include <stdbool.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120523/0b0819ea/attachment-0001.html>


More information about the macports-changes mailing list