[147878] trunk/dports/devel/libextractor
ryandesign at macports.org
ryandesign at macports.org
Tue Apr 19 18:21:30 PDT 2016
Revision: 147878
https://trac.macports.org/changeset/147878
Author: ryandesign at macports.org
Date: 2016-04-19 18:21:29 -0700 (Tue, 19 Apr 2016)
Log Message:
-----------
libextractor: fix build when jpeg boolean patch is removed (#51171)
Modified Paths:
--------------
trunk/dports/devel/libextractor/Portfile
Added Paths:
-----------
trunk/dports/devel/libextractor/files/patch-src-plugins-jpeg_extractor.c.diff
Modified: trunk/dports/devel/libextractor/Portfile
===================================================================
--- trunk/dports/devel/libextractor/Portfile 2016-04-20 01:19:46 UTC (rev 147877)
+++ trunk/dports/devel/libextractor/Portfile 2016-04-20 01:21:29 UTC (rev 147878)
@@ -52,7 +52,8 @@
port:zlib
patchfiles patch-configure.diff \
- patch-src-plugins-html_extractor.c.diff
+ patch-src-plugins-html_extractor.c.diff \
+ patch-src-plugins-jpeg_extractor.c.diff
configure.args --enable-ffmpeg \
--enable-glib \
Added: trunk/dports/devel/libextractor/files/patch-src-plugins-jpeg_extractor.c.diff
===================================================================
--- trunk/dports/devel/libextractor/files/patch-src-plugins-jpeg_extractor.c.diff (rev 0)
+++ trunk/dports/devel/libextractor/files/patch-src-plugins-jpeg_extractor.c.diff 2016-04-20 01:21:29 UTC (rev 147878)
@@ -0,0 +1,14 @@
+Fix build failure with jpeg 9
+https://gnunet.org/bugs/view.php?id=4436
+--- src/plugins/jpeg_extractor.c.orig 2013-12-22 16:10:35.000000000 -0600
++++ src/plugins/jpeg_extractor.c 2016-04-19 20:10:01.000000000 -0500
+@@ -24,7 +24,8 @@
+ */
+ #include "platform.h"
+ #include "extractor.h"
+-#if WINDOWS
++#if WINDOWS || DARWIN
++typedef int boolean;
+ #define HAVE_BOOLEAN
+ #endif
+ #include <jpeglib.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160419/d574f1f2/attachment.html>
More information about the macports-changes
mailing list