From 92fa89d684f7537ef2547979d70035c9880ae7fc Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 18 Sep 2015 23:25:38 +0100 Subject: [PATCH] network/dogecoin: Fixed build with boost-1.58. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- network/dogecoin/dogecoin.SlackBuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/network/dogecoin/dogecoin.SlackBuild b/network/dogecoin/dogecoin.SlackBuild index 91fd5eb5c9..6733350de6 100644 --- a/network/dogecoin/dogecoin.SlackBuild +++ b/network/dogecoin/dogecoin.SlackBuild @@ -77,10 +77,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -LDFLAGS="$SLKLDFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -CFLAGS="$SLKCFLAGS" \ - # Detect miniupnpc if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi @@ -91,9 +87,9 @@ if [ -x /usr/bin/qrencode ]; then QRCODE=1; else QRCODE=0; fi echo Building dogecoin-qt ... qmake \ QMAKE_CFLAGS+="$SLKCFLAGS" \ - QMAKE_CXXFLAGS+="$SLKCFLAGS" \ - "USE_UPNP=$UPNP" \ - USE_QRCODE=$QRCODE \ + QMAKE_CXXFLAGS+="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \ + USE_UPNP="$UPNP" \ + USE_QRCODE="$QRCODE" \ USE_SSL=1 make @@ -110,10 +106,11 @@ cd src sed -i 's/Bstatic/Bdynamic/g' makefile.unix CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \ make -f makefile.unix \ dogecoind \ USE_SSL=1 + cd - mkdir -p $PKG/usr/{bin,man/man{1,5}}