diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-04-25 12:26:53 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-04-25 12:26:53 +0200 |
commit | 50001eacb70095ac594bfd49c805274e87758156 (patch) | |
tree | b8ce91bb2c5fd930bbb5f65b87631358ba6d1938 /base/libpng | |
parent | 9c8b602ba8dbd65d885b5f3304c270ab94c7a6bd (diff) | |
download | nutyx-extra-50001eacb70095ac594bfd49c805274e87758156.tar.gz nutyx-extra-50001eacb70095ac594bfd49c805274e87758156.tar.bz2 nutyx-extra-50001eacb70095ac594bfd49c805274e87758156.tar.xz nutyx-extra-50001eacb70095ac594bfd49c805274e87758156.zip |
libpng, ajout patch
Diffstat (limited to 'base/libpng')
-rw-r--r-- | base/libpng/.md5sum | 1 | ||||
-rwxr-xr-x | base/libpng/Pkgfile | 4 | ||||
-rw-r--r-- | base/libpng/libpng14-enable-read-dither.patch | 15 |
3 files changed, 19 insertions, 1 deletions
diff --git a/base/libpng/.md5sum b/base/libpng/.md5sum index 5c1e95536..05ee46056 100644 --- a/base/libpng/.md5sum +++ b/base/libpng/.md5sum @@ -1,2 +1,3 @@ cdf7cde368a4e0de8d5400a99a79957f libpng-1.4.1-apng.patch.gz e1767bf290ded9fda9ee05bd23ae4cff libpng-1.4.1.tar.bz2 +d4696db4af61b175b705f51aeb9c8d7e libpng14-enable-read-dither.patch diff --git a/base/libpng/Pkgfile b/base/libpng/Pkgfile index 86e7b22a8..b856a0145 100755 --- a/base/libpng/Pkgfile +++ b/base/libpng/Pkgfile @@ -7,12 +7,14 @@ name=libpng version=1.4.1 release=1 source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \ - http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz) + http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz\ + libpng14-enable-read-dither.patch) build() { gzip -d $name-$version-apng.patch.gz cd $name-$version patch -Np1 -i ../$name-$version-apng.patch + patch -Np1 -i ../libpng14-enable-read-dither.patch ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/base/libpng/libpng14-enable-read-dither.patch b/base/libpng/libpng14-enable-read-dither.patch new file mode 100644 index 000000000..955b12ac6 --- /dev/null +++ b/base/libpng/libpng14-enable-read-dither.patch @@ -0,0 +1,15 @@ +diff -Naur libpng-1.4.0-orig/pngconf.h libpng-1.4.0/pngconf.h +--- libpng-1.4.0-orig/pngconf.h 2010-01-27 20:38:27.000000000 -0500 ++++ libpng-1.4.0/pngconf.h 2010-01-27 20:44:44.000000000 -0500 +@@ -497,11 +497,9 @@ + # ifndef PNG_NO_READ_INVERT + # define PNG_READ_INVERT_SUPPORTED + # endif +-#if 0 /* removed from libpng-1.4.0 */ + # ifndef PNG_NO_READ_DITHER + # define PNG_READ_DITHER_SUPPORTED + # endif +-#endif /* 0 */ + # ifndef PNG_NO_READ_BACKGROUND + # define PNG_READ_BACKGROUND_SUPPORTED + # endif |