summaryrefslogtreecommitdiff
path: root/extra/json-c
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-29 11:08:24 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-29 11:08:24 +0100
commitbf57d1e5a2a6f53ec61f15f32571940a9eb56ac7 (patch)
treeb38e9c719501ca5196d4d7911cdef911c2fff54b /extra/json-c
parent7d9481bb12f77bde4df2e923b4e932773b8d74f9 (diff)
parent2cb7f65fb24926493d457f6931e421e27aa629da (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bitcoin/PKGBUILD community/fcron/PKGBUILD community/glob2/PKGBUILD community/gnash/PKGBUILD core/file/PKGBUILD core/findutils/PKGBUILD core/texinfo/PKGBUILD core/which/PKGBUILD extra/boost/PKGBUILD extra/libpst/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/samba/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'extra/json-c')
-rw-r--r--extra/json-c/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/extra/json-c/PKGBUILD b/extra/json-c/PKGBUILD
index a7a33e022..843e56686 100644
--- a/extra/json-c/PKGBUILD
+++ b/extra/json-c/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 176084 2013-01-27 11:24:26Z ioni $
-# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+# $Id: PKGBUILD 176239 2013-01-28 00:11:44Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# 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 @@ md5sums=('a4edc79410eb894f08d7d52ca9f88732')
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
}