[126079] trunk/dports/devel/t4k_common

ryandesign at macports.org ryandesign at macports.org
Fri Oct 3 00:35:17 PDT 2014


Revision: 126079
          https://trac.macports.org/changeset/126079
Author:   ryandesign at macports.org
Date:     2014-10-03 00:35:17 -0700 (Fri, 03 Oct 2014)
Log Message:
-----------
t4k_common: do not use png_set_valid which causes crash at startup

Modified Paths:
--------------
    trunk/dports/devel/t4k_common/Portfile
    trunk/dports/devel/t4k_common/files/patch-libpng-1.5.diff

Modified: trunk/dports/devel/t4k_common/Portfile
===================================================================
--- trunk/dports/devel/t4k_common/Portfile	2014-10-03 07:33:59 UTC (rev 126078)
+++ trunk/dports/devel/t4k_common/Portfile	2014-10-03 07:35:17 UTC (rev 126079)
@@ -6,10 +6,11 @@
 name                t4k_common
 version             0.1.1
 set download_id     3540
-revision            2
+revision            3
 categories          devel
 platforms           darwin
 maintainers         gmail.com:davidstuartbruce
+license             GPL-3+
 
 description         shared code for Tux4Kids apps "TuxMath" and "Tux Typing"
 

Modified: trunk/dports/devel/t4k_common/files/patch-libpng-1.5.diff
===================================================================
--- trunk/dports/devel/t4k_common/files/patch-libpng-1.5.diff	2014-10-03 07:33:59 UTC (rev 126078)
+++ trunk/dports/devel/t4k_common/files/patch-libpng-1.5.diff	2014-10-03 07:35:17 UTC (rev 126079)
@@ -1,7 +1,8 @@
 https://lists.fedoraproject.org/pipermail/scm-commits/2012-January/724580.html
+https://lists.fedoraproject.org/pipermail/scm-commits/2012-June/791063.html
 --- src/t4k_loaders.c.orig	2011-04-07 21:46:07.000000000 -0500
-+++ src/t4k_loaders.c	2014-10-01 17:21:23.000000000 -0500
-@@ -1028,12 +1028,8 @@
++++ src/t4k_loaders.c	2014-10-03 02:28:34.000000000 -0500
+@@ -1028,12 +1028,7 @@
        {
          png_init_io(png_ptr, fi);
  
@@ -12,7 +13,6 @@
 -        info_ptr->interlace_type = 1;
 -        info_ptr->valid = 0;	/* will be updated by various png_set_FOO() functions */
 +        png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, PNG_COLOR_TYPE_RGB_ALPHA, 1, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
-+        png_set_valid(png_ptr, info_ptr, 0);
  
          png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
                         PNG_sRGB_INTENT_PERCEPTUAL);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141003/3f08cc3a/attachment.html>


More information about the macports-changes mailing list