Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting2.git;a=commitdiff;h=db52a30851acc195e3bdbfd4692fb7dd4d343c60
commit db52a30851acc195e3bdbfd4692fb7dd4d343c60 Author: Baste <[email protected]> Date: Fri Jun 29 11:38:36 2012 +0200 t4k_common-0.1.1-2-x86_64 * Add libpng15.patch diff --git a/source/xlib-extra/t4k_common/FrugalBuild b/source/xlib-extra/t4k_common/FrugalBuild index 346c3cb..808a1f1 100644 --- a/source/xlib-extra/t4k_common/FrugalBuild +++ b/source/xlib-extra/t4k_common/FrugalBuild @@ -12,8 +12,9 @@ depends=('sdlimage' 'sdl_mixer' 'sdl_pango' 'sdl_net' 'librsvg') groups=('xlib-extra') archs=('i686' 'x86_64') up2date="Flasttar http://alioth.debian.org/frs/?group_id=31080" -source=(http://alioth.debian.org/frs/download.php/${rel_id}/${pkgname}-${pkgver}.tar.gz) +source=(http://alioth.debian.org/frs/download.php/${rel_id}/${pkgname}-${pkgver}.tar.gz libpng15.patch) options=('force') -sha1sums=('626eddedee86059ccab593a226c8d98571018b46') +sha1sums=('626eddedee86059ccab593a226c8d98571018b46' \ + 'aa909083dec77cf7a0e8c25ef422e05b8a84efe1') # optimization OK diff --git a/source/xlib-extra/t4k_common/libpng15.patch b/source/xlib-extra/t4k_common/libpng15.patch new file mode 100644 index 0000000..2999154 --- /dev/null +++ b/source/xlib-extra/t4k_common/libpng15.patch @@ -0,0 +1,18 @@ +--- 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 @@ + { + png_init_io(png_ptr, fi); + +- 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; +- 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); + + 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
