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