[117552] trunk/dports/aqua/fltk-devel
michaelld at macports.org
michaelld at macports.org
Mon Mar 3 08:50:52 PST 2014
Revision: 117552
https://trac.macports.org/changeset/117552
Author: michaelld at macports.org
Date: 2014-03-03 08:50:52 -0800 (Mon, 03 Mar 2014)
Log Message:
-----------
fltk-devel: update to r10115; fix boolean usage with new jpeg @9a.
Revision Links:
--------------
https://trac.macports.org/changeset/10115
Modified Paths:
--------------
trunk/dports/aqua/fltk-devel/Portfile
Added Paths:
-----------
trunk/dports/aqua/fltk-devel/files/patch-src-Fl_JPEG_Image.cxx.diff
Modified: trunk/dports/aqua/fltk-devel/Portfile
===================================================================
--- trunk/dports/aqua/fltk-devel/Portfile 2014-03-03 16:48:17 UTC (rev 117551)
+++ trunk/dports/aqua/fltk-devel/Portfile 2014-03-03 16:50:52 UTC (rev 117552)
@@ -5,7 +5,7 @@
name fltk-devel
conflicts fltk
-version 1.3.x-r10109
+version 1.3.x-r10115
categories aqua devel
license LGPL
platforms macosx
@@ -30,8 +30,8 @@
distname fltk-${version}
use_bzip2 yes
-checksums rmd160 a3444458cc63987978b3408bf0e0bb59a2f884a7 \
- sha256 5df7709e9c665c5b653c4e9c4e7c77ee208ce8f03527b32c1249e259c76e087b
+checksums rmd160 d2ec11ed6a0247116fb7e565c76e6a0f3c627c09 \
+ sha256 891ded3feeaa8f617bb1fcd03bbc68e877e0343da8e00892029fd737d5bea9c4
depends_lib port:jpeg \
port:libpng \
@@ -40,7 +40,8 @@
use_parallel_build yes
patchfiles patch-fluid-Makefile.diff \
- patch-src-Makefile.diff
+ patch-src-Makefile.diff \
+ patch-src-Fl_JPEG_Image.cxx.diff
post-patch {
reinplace "s|/Applications|${applications_dir}/fltk|g" \
Added: trunk/dports/aqua/fltk-devel/files/patch-src-Fl_JPEG_Image.cxx.diff
===================================================================
--- trunk/dports/aqua/fltk-devel/files/patch-src-Fl_JPEG_Image.cxx.diff (rev 0)
+++ trunk/dports/aqua/fltk-devel/files/patch-src-Fl_JPEG_Image.cxx.diff 2014-03-03 16:50:52 UTC (rev 117552)
@@ -0,0 +1,20 @@
+--- src/Fl_JPEG_Image.cxx.orig 2014-03-03 11:38:51.000000000 -0500
++++ src/Fl_JPEG_Image.cxx 2014-03-03 11:39:21.000000000 -0500
+@@ -155,7 +155,7 @@
+
+ jpeg_create_decompress(&dinfo);
+ jpeg_stdio_src(&dinfo, fp);
+- jpeg_read_header(&dinfo, 1);
++ jpeg_read_header(&dinfo, TRUE);
+
+ dinfo.quantize_colors = (boolean)FALSE;
+ dinfo.out_color_space = JCS_RGB;
+@@ -337,7 +337,7 @@
+
+ jpeg_create_decompress(&dinfo);
+ jpeg_mem_src(&dinfo, data);
+- jpeg_read_header(&dinfo, 1);
++ jpeg_read_header(&dinfo, TRUE);
+
+ dinfo.quantize_colors = (boolean)FALSE;
+ dinfo.out_color_space = JCS_RGB;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140303/ff9dc9e9/attachment.html>
More information about the macports-changes
mailing list