summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-09-18 23:25:38 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit92fa89d684f7537ef2547979d70035c9880ae7fc (patch)
tree7b3a28096ce90a75218c88637e91ccf40e8df426 /network
parent2aeec6b12bd64fc69ab4c363a5600b0db68ba030 (diff)
downloadslackbuilds-92fa89d684f7537ef2547979d70035c9880ae7fc.tar.gz
network/dogecoin: Fixed build with boost-1.58.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/dogecoin/dogecoin.SlackBuild13
1 files 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}}