[153699] trunk/dports/graphics/libopenraw
ryandesign at macports.org
ryandesign at macports.org
Sat Oct 8 11:20:13 CEST 2016
Revision: 153699
https://trac.macports.org/changeset/153699
Author: ryandesign at macports.org
Date: 2016-10-08 02:20:12 -0700 (Sat, 08 Oct 2016)
Log Message:
-----------
livopenraw: Fix build with jpeg without Boolean patch
Resolves #51017
Modified Paths:
--------------
trunk/dports/graphics/libopenraw/Portfile
Added Paths:
-----------
trunk/dports/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff
Modified: trunk/dports/graphics/libopenraw/Portfile
===================================================================
--- trunk/dports/graphics/libopenraw/Portfile 2016-10-08 09:11:42 UTC (rev 153698)
+++ trunk/dports/graphics/libopenraw/Portfile 2016-10-08 09:20:12 UTC (rev 153699)
@@ -27,7 +27,8 @@
use_bzip2 yes
-patchfiles patch-Makefile.am.diff
+patchfiles patch-Makefile.am.diff \
+ patch-lib-jfifcontainer.cpp.diff
depends_build port:pkgconfig
Added: trunk/dports/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff
===================================================================
--- trunk/dports/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff (rev 0)
+++ trunk/dports/graphics/libopenraw/files/patch-lib-jfifcontainer.cpp.diff 2016-10-08 09:20:12 UTC (rev 153699)
@@ -0,0 +1,20 @@
+--- lib/jfifcontainer.cpp.orig 2011-11-13 01:00:09.000000000 -0600
++++ lib/jfifcontainer.cpp 2016-03-31 11:09:29.000000000 -0500
+@@ -145,7 +145,7 @@
+ {
+ int ret = 0;
+ if (::setjmp(m_jpegjmp) == 0) {
+- ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
++ ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
+ //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
+
+ JPEG::jpeg_calc_output_dimensions(&m_cinfo);
+@@ -181,7 +181,7 @@
+ src->pub.next_input_byte = NULL;
+ src->pub.bytes_in_buffer = 0;
+ }
+- return TRUE;
++ return JPEG::TRUE;
+ }
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161008/398cb38b/attachment-0002.html>
More information about the macports-changes
mailing list