[147506] trunk/dports/graphics/gle-graphics
ryandesign at macports.org
ryandesign at macports.org
Wed Apr 6 01:43:02 PDT 2016
Revision: 147506
https://trac.macports.org/changeset/147506
Author: ryandesign at macports.org
Date: 2016-04-06 01:43:02 -0700 (Wed, 06 Apr 2016)
Log Message:
-----------
gle-graphics: fix build failure when jpeg boolean patch is removed (#51016)
Modified Paths:
--------------
trunk/dports/graphics/gle-graphics/Portfile
Added Paths:
-----------
trunk/dports/graphics/gle-graphics/files/patch-src-gle-gle-poppler.cpp.diff
Modified: trunk/dports/graphics/gle-graphics/Portfile
===================================================================
--- trunk/dports/graphics/gle-graphics/Portfile 2016-04-06 08:41:03 UTC (rev 147505)
+++ trunk/dports/graphics/gle-graphics/Portfile 2016-04-06 08:43:02 UTC (rev 147506)
@@ -40,7 +40,8 @@
patch-qgle-carbon.diff \
patch-qgle-libgs.diff \
patch-qgle-glu.diff \
- patch-hash-map.diff
+ patch-hash-map.diff \
+ patch-src-gle-gle-poppler.cpp.diff
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/gui/qgslibloader.cpp
Added: trunk/dports/graphics/gle-graphics/files/patch-src-gle-gle-poppler.cpp.diff
===================================================================
--- trunk/dports/graphics/gle-graphics/files/patch-src-gle-gle-poppler.cpp.diff (rev 0)
+++ trunk/dports/graphics/gle-graphics/files/patch-src-gle-gle-poppler.cpp.diff 2016-04-06 08:43:02 UTC (rev 147506)
@@ -0,0 +1,20 @@
+--- src/gle/gle-poppler.cpp.orig 2015-08-16 02:51:24.000000000 -0500
++++ src/gle/gle-poppler.cpp 2016-03-31 10:38:13.000000000 -0500
+@@ -194,7 +194,7 @@
+ boolean gle_jpeg_empty_output_buffer(j_compress_ptr cinfo) {
+ gle_jpeg_term_destination(cinfo);
+ gle_jpeg_init_destination(cinfo);
+- return true;
++ return TRUE;
+ }
+
+ void gle_jpeg_memory_dest(j_compress_ptr cinfo, JOCTET* buffer, GLEWriteFuncAndClosure writeCallback) {
+@@ -237,7 +237,7 @@
+ cinfo.in_color_space = JCS_RGB;
+ }
+ jpeg_set_defaults(&cinfo);
+- jpeg_start_compress(&cinfo, true);
++ jpeg_start_compress(&cinfo, TRUE);
+ JSAMPROW row = new JSAMPLE[cinfo.input_components * width];
+ JSAMPROW row_pointer[1];
+ row_pointer[0] = row;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160406/c9f7d745/attachment.html>
More information about the macports-changes
mailing list