[123209] trunk/dports/graphics/swftools
ryandesign at macports.org
ryandesign at macports.org
Wed Aug 6 18:18:52 PDT 2014
Revision: 123209
https://trac.macports.org/changeset/123209
Author: ryandesign at macports.org
Date: 2014-08-06 18:18:52 -0700 (Wed, 06 Aug 2014)
Log Message:
-----------
swftools: fix build with unpatched jpeg 9a (#42735)
Modified Paths:
--------------
trunk/dports/graphics/swftools/Portfile
Added Paths:
-----------
trunk/dports/graphics/swftools/files/patch-lib-jpeg.c.diff
Modified: trunk/dports/graphics/swftools/Portfile
===================================================================
--- trunk/dports/graphics/swftools/Portfile 2014-08-07 01:18:29 UTC (rev 123208)
+++ trunk/dports/graphics/swftools/Portfile 2014-08-07 01:18:52 UTC (rev 123209)
@@ -24,6 +24,7 @@
patchfiles patch-Makefile.common.in.diff \
patch-configure.diff \
+ patch-lib-jpeg.c.diff \
patch-setup.py.diff \
patch-src_gif2swf.c.diff
Added: trunk/dports/graphics/swftools/files/patch-lib-jpeg.c.diff
===================================================================
--- trunk/dports/graphics/swftools/files/patch-lib-jpeg.c.diff (rev 0)
+++ trunk/dports/graphics/swftools/files/patch-lib-jpeg.c.diff 2014-08-07 01:18:52 UTC (rev 123209)
@@ -0,0 +1,15 @@
+--- lib/jpeg.c.orig 2011-10-14 15:46:10.000000000 -0500
++++ lib/jpeg.c 2014-08-06 20:15:51.000000000 -0500
+@@ -5,6 +5,12 @@
+ #include "../config.h"
+
+ #ifdef HAVE_JPEGLIB
++#ifndef FALSE
++#define FALSE 0
++#endif
++#ifndef TRUE
++#define TRUE 1
++#endif
+ #define HAVE_BOOLEAN
+ #include <jpeglib.h>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140806/5da07138/attachment.html>
More information about the macports-changes
mailing list