Patches for aports can be sent to this list

1

[alpine-aports] [PATCH 1/2] main/json-c: support cross-compile

Daniel Sabogal
Details
Message ID
<20180203150356.32201-1-dsabogalcc@gmail.com>
Sender timestamp
1517670235
DKIM signature
missing
Download raw message
Patch: +5 -2
---
 main/json-c/APKBUILD | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/main/json-c/APKBUILD b/main/json-c/APKBUILD
index 467ad6790f..08a3918dd8 100644
--- a/main/json-c/APKBUILD
+++ b/main/json-c/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=json-c
 pkgver=0.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A JSON implementation in C"
 url="https://github.com/json-c/json-c/wiki"
 arch="all"
@@ -25,12 +25,15 @@ prepare() {
 build() {
 	cd "$builddir"
 	./configure --prefix=/usr \
+		--build=$CBUILD \
+		--host=$CHOST \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
 		--localstatedir=/var \
 		--enable-shared \
-		 || return 1
+		ac_cv_func_malloc_0_nonnull=yes \
+		ac_cv_func_realloc_0_nonnull=yes
 	make -j1 || return 1
 }
 
-- 
2.16.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 2/2] scripts/bootstrap.sh: cryptsetup depends on json-c and argon2

Daniel Sabogal
Details
Message ID
<20180203150356.32201-2-dsabogalcc@gmail.com>
In-Reply-To
<20180203150356.32201-1-dsabogalcc@gmail.com> (view parent)
Sender timestamp
1517670236
DKIM signature
missing
Download raw message
Patch: +2 -1
---
 scripts/bootstrap.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 0b6addd984..c26c1dcb75 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -102,7 +102,8 @@ for PKG in fortify-headers linux-headers musl libc-dev pkgconf zlib \
 	   openrc alpine-conf alpine-baselayout alpine-keys alpine-base build-base \
 	   attr libcap patch sudo acl fakeroot tar \
 	   pax-utils abuild openssh \
-	   ncurses libcap-ng util-linux lvm2 popt xz cryptsetup kmod lddtree mkinitfs \
+	   ncurses libcap-ng util-linux lvm2 popt xz \
+	   json-c argon2 cryptsetup kmod lddtree mkinitfs \
 	   community/go libffi community/ghc \
 	   $KERNEL_PKG ; do
 
-- 
2.16.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---