Date: Monday, January 28, 2013 @ 01:10:28 Author: heftig Revision: 176238
Fix package so we can actually build things against it Modified: json-c/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-01-27 23:33:03 UTC (rev 176237) +++ PKGBUILD 2013-01-28 00:10:28 UTC (rev 176238) @@ -1,10 +1,10 @@ # $Id$ -# Maintainer: Jan "heftig" Steffens <[email protected]> +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> # Contributor: Geoffroy Carrier <[email protected]> # Contributor: congyiwu <congyiwu AT gmail DOT com> pkgname=json-c pkgver=0.10 -pkgrel=1 +pkgrel=2 pkgdesc="A JSON implementation in C" url="https://github.com/json-c/json-c/wiki" license=("MIT") @@ -15,7 +15,15 @@ options=(!libtool) build() { cd $pkgname-$pkgver - ./configure --prefix=/usr + + ## from http://pkgs.fedoraproject.org/cgit/json-c.git/tree/json-c.spec + # Hack to get json_object_iterator.c compiled + sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \ + -e 's/json_object.h/json_object.h json_object_iterator.h/' \ + -e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \ + -i Makefile.in + + ./configure --prefix=/usr --disable-static make }
