Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting2.git;a=commitdiff;h=a0a78a825b8979bd13b37cf0ab27c62e60550fed

commit a0a78a825b8979bd13b37cf0ab27c62e60550fed
Author: Baste <[email protected]>
Date:   Fri Jun 29 11:48:33 2012 +0200

t4k_common-0.1.1-2-x86_64
* Fix patch

diff --git a/source/xlib-extra/t4k_common/FrugalBuild 
b/source/xlib-extra/t4k_common/FrugalBuild
index 808a1f1..22e162a 100644
--- a/source/xlib-extra/t4k_common/FrugalBuild
+++ b/source/xlib-extra/t4k_common/FrugalBuild
@@ -15,6 +15,6 @@ up2date="Flasttar 
http://alioth.debian.org/frs/?group_id=31080";
source=(http://alioth.debian.org/frs/download.php/${rel_id}/${pkgname}-${pkgver}.tar.gz
 libpng15.patch)
options=('force')
sha1sums=('626eddedee86059ccab593a226c8d98571018b46' \
-          'aa909083dec77cf7a0e8c25ef422e05b8a84efe1')
+          'd12b08588854b7314a175f6d13cb85a30cd83199')

# optimization OK
diff --git a/source/xlib-extra/t4k_common/libpng15.patch 
b/source/xlib-extra/t4k_common/libpng15.patch
index 2999154..6134aa1 100644
--- a/source/xlib-extra/t4k_common/libpng15.patch
+++ b/source/xlib-extra/t4k_common/libpng15.patch
@@ -1,6 +1,6 @@
---- src/t4k_common-0.1.1/src/t4k_loaders.c     2011-04-08 05:46:07.000000000 
+0300
-+++ src.new/t4k_common-0.1.1/src/t4k_loaders.c 2012-05-02 10:35:41.836670434 
+0300
-@@ -1028,12 +1028,9 @@
+--- src/t4k_loaders.c.orig     2011-04-07 21:46:07.000000000 -0500
++++ src/t4k_loaders.c  2012-01-23 09:40:36.741027921 -0600
+@@ -1028,12 +1028,14 @@
{
png_init_io(png_ptr, fi);

@@ -10,9 +10,15 @@
-        info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
-        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_BASE, PNG_FILTER_TYPE_BASE);
++        //info_ptr->width = surf->w;
++        //info_ptr->height = surf->h;
++        //info_ptr->bit_depth = 8;
++        //info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
++        //info_ptr->interlace_type = 1;
++        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);
++        //info_ptr->valid = 0;        /* will be updated by various 
png_set_FOO() functions */
++

png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
PNG_sRGB_INTENT_PERCEPTUAL);
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to