From 24f49296f451cfb96d498aafde46e11accfe3003 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 5 May 2014 19:44:29 +0000 Subject: libmng: update to 2.0.2 --- abs/extra/libmng/PKGBUILD | 30 ++++++++++++++++-------------- abs/extra/libmng/__changelog | 1 - abs/extra/libmng/automake-patch | 11 ----------- abs/extra/libmng/libmng-stdio.patch | 10 ++++++++++ 4 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 abs/extra/libmng/__changelog delete mode 100644 abs/extra/libmng/automake-patch create mode 100644 abs/extra/libmng/libmng-stdio.patch diff --git a/abs/extra/libmng/PKGBUILD b/abs/extra/libmng/PKGBUILD index 7be67d7..812b577 100644 --- a/abs/extra/libmng/PKGBUILD +++ b/abs/extra/libmng/PKGBUILD @@ -1,31 +1,33 @@ -# $Id: PKGBUILD 137860 2011-09-12 05:28:13Z eric $ +# $Id$ # Maintainer: Eric BĂ©langer pkgname=libmng -pkgver=1.0.10 -pkgrel=4 +pkgver=2.0.2 +pkgrel=3 pkgdesc="A collection of routines used to create and manipulate MNG format graphics files" arch=('i686' 'x86_64') url="http://www.libmng.com/" license=('custom') -depends=('zlib' 'libjpeg') -options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 automake-patch) +depends=('lcms2') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc} + libmng-stdio.patch) +sha1sums=('7dd35369ff5916e1823cbacef984ab1b87714b69' + 'SKIP' + '2f8b472d53791ba3a44dab9b18fb215e8b19dd77') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p5 -i "${srcdir}/libmng-stdio.patch" +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np0 < $srcdir/automake-patch || exit 1 - ln -s makefiles/configure.in . - ln -s makefiles/Makefile.am . - autoreconf --force --install + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -md5sums=('eaf1476a3bb29f6190bca660e6abef16' - 'abd75e07394cc04e0d8ffa9a93b1e485') diff --git a/abs/extra/libmng/__changelog b/abs/extra/libmng/__changelog deleted file mode 100644 index 41fd872..0000000 --- a/abs/extra/libmng/__changelog +++ /dev/null @@ -1 +0,0 @@ -add automake_patch diff --git a/abs/extra/libmng/automake-patch b/abs/extra/libmng/automake-patch deleted file mode 100644 index 309983a..0000000 --- a/abs/extra/libmng/automake-patch +++ /dev/null @@ -1,11 +0,0 @@ ---- makefiles/configure.in 2005-01-30 05:28:00.000000000 -0500 -+++ makefiles/configure.in.new 2012-05-03 16:36:01.000000000 -0400 -@@ -15,7 +15,7 @@ - dnl Checks for programs. - AC_PROG_CC - AC_ISC_POSIX --AM_C_PROTOTYPES -+#AM_C_PROTOTYPES - if test "x$U" != "x"; then - AC_MSG_ERROR(Compiler not ANSI compliant) - fi diff --git a/abs/extra/libmng/libmng-stdio.patch b/abs/extra/libmng/libmng-stdio.patch new file mode 100644 index 0000000..42414f1 --- /dev/null +++ b/abs/extra/libmng/libmng-stdio.patch @@ -0,0 +1,10 @@ +--- /mnt/chrootstaging32/usr/include/libmng_types.h 2013-08-15 16:26:03.000000000 -0400 ++++ /mnt/chrootstaging64/usr/include/libmng_types.h 2013-08-16 19:53:39.165878412 -0400 +@@ -204,6 +204,7 @@ + #define HAVE_BOOLEAN + typedef int boolean; + #endif ++#include + #include + #endif /* MNG_INCLUDE_IJG6B */ + -- cgit v0.12