[99361] trunk/dports/graphics/leptonica

ryandesign at macports.org ryandesign at macports.org
Sat Nov 3 00:34:57 PDT 2012


Revision: 99361
          http://trac.macports.org//changeset/99361
Author:   ryandesign at macports.org
Date:     2012-11-03 00:34:57 -0700 (Sat, 03 Nov 2012)
Log Message:
-----------
leptonica: update environ.h to reflect the configuration that's actually installed (including webp and giflib support)

Modified Paths:
--------------
    trunk/dports/graphics/leptonica/Portfile

Added Paths:
-----------
    trunk/dports/graphics/leptonica/files/
    trunk/dports/graphics/leptonica/files/patch-src-environ.h.diff

Modified: trunk/dports/graphics/leptonica/Portfile
===================================================================
--- trunk/dports/graphics/leptonica/Portfile	2012-11-03 07:02:48 UTC (rev 99360)
+++ trunk/dports/graphics/leptonica/Portfile	2012-11-03 07:34:57 UTC (rev 99361)
@@ -5,7 +5,7 @@
 
 name                leptonica
 version             1.69
-revision            2
+revision            3
 categories          graphics science devel
 license             BSD
 platforms           darwin
@@ -28,6 +28,8 @@
                     port:giflib \
                     port:webp
 
+patchfiles          patch-src-environ.h.diff
+
 livecheck.type      regex
 livecheck.url       http://www.leptonica.com/download.html
 livecheck.regex     "leptonica-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Added: trunk/dports/graphics/leptonica/files/patch-src-environ.h.diff
===================================================================
--- trunk/dports/graphics/leptonica/files/patch-src-environ.h.diff	                        (rev 0)
+++ trunk/dports/graphics/leptonica/files/patch-src-environ.h.diff	2012-11-03 07:34:57 UTC (rev 99361)
@@ -0,0 +1,14 @@
+--- src/environ.h.orig	2012-01-22 13:21:34.000000000 -0600
++++ src/environ.h	2012-11-03 02:20:50.000000000 -0500
+@@ -107,9 +107,9 @@
+ #define  HAVE_LIBTIFF     1
+ #define  HAVE_LIBPNG      1
+ #define  HAVE_LIBZ        1
+-#define  HAVE_LIBGIF      0
++#define  HAVE_LIBGIF      1
+ #define  HAVE_LIBUNGIF    0
+-#define  HAVE_LIBWEBP     0
++#define  HAVE_LIBWEBP     1
+ #endif  /* ~HAVE_CONFIG_H */
+ 
+ /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121103/d54a94a3/attachment.html>


More information about the macports-changes mailing list