summaryrefslogtreecommitdiff
path: root/testing/gd
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-02-15 20:35:57 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-02-15 20:35:57 +0000
commit1ffabe284d9f5a4ac055941d9817af71be1e5b54 (patch)
tree2b816cb3cc40a5f3053c8371de5613041272e298 /testing/gd
parent650a87f5a67f6e71d4a56e52139a718d86ebbb46 (diff)
Wed Feb 15 20:35:56 UTC 2012
Diffstat (limited to 'testing/gd')
-rw-r--r--testing/gd/PKGBUILD31
-rw-r--r--testing/gd/libpng14.patch12
2 files changed, 0 insertions, 43 deletions
diff --git a/testing/gd/PKGBUILD b/testing/gd/PKGBUILD
deleted file mode 100644
index c86beabc0..000000000
--- a/testing/gd/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 148105 2012-01-30 18:46:00Z ibiru $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-
-pkgname=gd
-pkgver=2.0.36RC1
-pkgrel=5
-pkgdesc="Library for the dynamic creation of images by programmers"
-arch=('i686' 'x86_64')
-url="http://www.libgd.org/"
-license=('custom')
-depends=('libpng' 'fontconfig' 'libjpeg')
-optdepends=('perl: bdftogd script')
-options=('!libtool')
-source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'libpng14.patch')
-md5sums=('e876979ca3130623a4e7866d9579171a'
- '7921556f4960e8d66cf4fb67ea7101b5')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 -i ${srcdir}/libpng14.patch
- ./configure --prefix=/usr --without-xpm
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/testing/gd/libpng14.patch b/testing/gd/libpng14.patch
deleted file mode 100644
index 19a3fda91..000000000
--- a/testing/gd/libpng14.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur gd-2.0.36RC1.orig/gd_png.c gd-2.0.36RC1/gd_png.c
---- gd-2.0.36RC1.orig/gd_png.c 2007-11-27 10:30:34.000000000 +0200
-+++ gd-2.0.36RC1/gd_png.c 2010-01-17 17:14:11.000000000 +0200
-@@ -151,7 +151,7 @@
- return NULL;
- }
-
-- if (!png_check_sig (sig, 8)) { /* bad signature */
-+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
- return NULL; /* bad signature */
- }
-