summaryrefslogtreecommitdiffstats
path: root/extra/libgd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgd/Pkgfile')
-rw-r--r--extra/libgd/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/libgd/Pkgfile b/extra/libgd/Pkgfile
index bb74cd9b6..c74861436 100644
--- a/extra/libgd/Pkgfile
+++ b/extra/libgd/Pkgfile
@@ -7,10 +7,12 @@
name=libgd
version=2.0.35
release=1
-source=( http://www.libgd.org/releases/gd-$version.tar.gz )
+source=( http://www.libgd.org/releases/gd-$version.tar.gz \
+ libpng14-enable-read-dither.patch)
build () {
cd gd-$version
+ patch -Np1 -i ../libpng14-enable-read-dither.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install