summaryrefslogtreecommitdiffstats
path: root/base/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'base/libpng')
-rw-r--r--base/libpng/.md5sum1
-rwxr-xr-xbase/libpng/Pkgfile4
-rw-r--r--base/libpng/libpng14-enable-read-dither.patch15
3 files changed, 1 insertions, 19 deletions
diff --git a/base/libpng/.md5sum b/base/libpng/.md5sum
index 443321d77..d554e77ee 100644
--- a/base/libpng/.md5sum
+++ b/base/libpng/.md5sum
@@ -1,3 +1,2 @@
378ade7c68c25d00e099b28911d06561 libpng-1.4.2-apng.patch.gz
80556970ecd0b07209732284d6227c98 libpng-1.4.2.tar.bz2
-d4696db4af61b175b705f51aeb9c8d7e libpng14-enable-read-dither.patch
diff --git a/base/libpng/Pkgfile b/base/libpng/Pkgfile
index 2c76d10b3..929238386 100755
--- a/base/libpng/Pkgfile
+++ b/base/libpng/Pkgfile
@@ -7,14 +7,12 @@ name=libpng
version=1.4.2
release=1
source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \
- http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz\
- libpng14-enable-read-dither.patch)
+ http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz)
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
deleted file mode 100644
index 955b12ac6..000000000
--- a/base/libpng/libpng14-enable-read-dither.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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