[arch-commits] Commit in libmng/trunk (PKGBUILD libmng-stdio.patch)
Eric Bélanger
eric at nymeria.archlinux.org
Sat Aug 17 00:19:55 UTC 2013
Date: Saturday, August 17, 2013 @ 02:19:55
Author: eric
Revision: 193125
upgpkg: libmng 2.0.2-2
Fix header file
Added:
libmng/trunk/libmng-stdio.patch
Modified:
libmng/trunk/PKGBUILD
--------------------+
PKGBUILD | 13 ++++++++++---
libmng-stdio.patch | 10 ++++++++++
2 files changed, 20 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-16 23:14:38 UTC (rev 193124)
+++ PKGBUILD 2013-08-17 00:19:55 UTC (rev 193125)
@@ -3,17 +3,24 @@
pkgname=libmng
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
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=('lcms2')
options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc})
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc}
+ libmng-stdio.patch)
sha1sums=('7dd35369ff5916e1823cbacef984ab1b87714b69'
- 'SKIP')
+ 'SKIP'
+ '2f8b472d53791ba3a44dab9b18fb215e8b19dd77')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p5 -i "${srcdir}/libmng-stdio.patch"
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
Added: libmng-stdio.patch
===================================================================
--- libmng-stdio.patch (rev 0)
+++ libmng-stdio.patch 2013-08-17 00:19:55 UTC (rev 193125)
@@ -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 <stdio.h>
+ #include <jpeglib.h>
+ #endif /* MNG_INCLUDE_IJG6B */
+
More information about the arch-commits
mailing list