From 8cd8534c45f14c6dfea3f1f2228451d192c33b3e Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sat, 15 Mar 2014 04:04:05 +0000 Subject: Sat Mar 15 03:58:34 UTC 2014 --- community/agg/PKGBUILD | 23 +++++++++++++++-------- community/agg/autotools.patch | 11 +++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 community/agg/autotools.patch (limited to 'community/agg') diff --git a/community/agg/PKGBUILD b/community/agg/PKGBUILD index fe60133a4..0c235e835 100644 --- a/community/agg/PKGBUILD +++ b/community/agg/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 99669 2013-10-30 22:54:38Z allan $ +# $Id: PKGBUILD 107181 2014-03-14 08:12:44Z andrea $ # Maintainer: Jonathan Conder pkgname=agg pkgver=2.5 -pkgrel=4 +pkgrel=5 pkgdesc="A High Quality Rendering Engine for C++" arch=('i686' 'x86_64') url="http://www.antigrain.com/" @@ -14,21 +14,28 @@ replaces=('antigrain') options=('!makeflags') source=("http://www.antigrain.com/${pkgname}-${pkgver}.tar.gz" agg-2.4-depends.patch - agg-2.5-pkgconfig.patch) + agg-2.5-pkgconfig.patch + autotools.patch) md5sums=('0229a488bc47be10a2fee6cf0b2febd6' '22f8e48c137d25038181c86d5e40b110' - '43a19a7b1564c591e56c8d09a0fd8da5') + '43a19a7b1564c591e56c8d09a0fd8da5' + 'e042231955a8daee5f3cdfa4ee4e866a') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}/agg-2.4-depends.patch" + patch -p1 -i "${srcdir}/agg-2.5-pkgconfig.patch" + patch -p0 -i "${srcdir}/autotools.patch" +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/agg-2.4-depends.patch" - patch -Np1 -i "${srcdir}/agg-2.5-pkgconfig.patch" + cd ${pkgname}-${pkgver} sh ./autogen.sh ./configure --prefix=/usr --disable-static make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } diff --git a/community/agg/autotools.patch b/community/agg/autotools.patch new file mode 100644 index 000000000..b273477a3 --- /dev/null +++ b/community/agg/autotools.patch @@ -0,0 +1,11 @@ +--- configure.in~ 2013-02-22 09:30:00.000000000 -0600 ++++ configure.in 2013-02-22 09:30:49.030777571 -0600 +@@ -8,7 +8,7 @@ + AC_PROG_CC + AC_PROG_CXX + AC_ISC_POSIX +-AM_C_PROTOTYPES ++#AM_C_PROTOTYPES + if test "x$U" != "x"; then + AC_MSG_ERROR(Compiler not ANSI compliant) + fi -- cgit v1.2.3-54-g00ecf