From e12ea19ef6e800b2c9148759a2756b5dc2fbd6a4 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 4 Oct 2016 10:31:10 +0200 Subject: [PATCH] xmlrpc-c: fix gcc6 build Also add missing common/shlibs entries. --- common/shlibs | 2 ++ srcpkgs/xmlrpc-c/template | 3 +++ 2 files changed, 5 insertions(+) diff --git a/common/shlibs b/common/shlibs index d17a77157b9..d18f78f534b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1701,6 +1701,8 @@ libxmlrpc_server++.so.8 xmlrpc-c-1.39.07_1 libxmlrpc_server_cgi++.so.8 xmlrpc-c-1.39.07_1 libxmlrpc_server_pstream++.so.8 xmlrpc-c-1.39.07_1 libxmlrpc_client.so.3 xmlrpc-c-1.25.28_1 +libxmlrpc_util++.so.8 xmlrpc-c-1.39.11_1 +libxmlrpc_abyss++.so.8 xmlrpc-c-1.39.11_1 libtelepathy-farstream.so.3 telepathy-farstream-0.6.0_6 libnetpbm.so.11 libnetpbm-10.66.03_2 libid3.so id3lib-3.8.3_1 diff --git a/srcpkgs/xmlrpc-c/template b/srcpkgs/xmlrpc-c/template index d55f0888be4..9399f733c7e 100644 --- a/srcpkgs/xmlrpc-c/template +++ b/srcpkgs/xmlrpc-c/template @@ -19,6 +19,9 @@ disable_parallel_build=yes pre_configure() { sed 's,XMLRPC_ABYSS_EXPORTED,XMLRPC_DLLEXPORT,g' -i include/xmlrpc-c/abyss.h + sed -i configure \ + -e "s;AR=.*;AR=${AR};" \ + -e "s;RANLIB=.*;RANLIB=${RANLIB};" } post_configure() { case "$XBPS_TARGET_MACHINE" in