summaryrefslogtreecommitdiff
path: root/libraries/libdbus-c++/libdbus-c++.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdbus-c++/libdbus-c++.SlackBuild')
-rw-r--r--libraries/libdbus-c++/libdbus-c++.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libdbus-c++/libdbus-c++.SlackBuild b/libraries/libdbus-c++/libdbus-c++.SlackBuild
index ec529a9e2f..391ed3ec42 100644
--- a/libraries/libdbus-c++/libdbus-c++.SlackBuild
+++ b/libraries/libdbus-c++/libdbus-c++.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libdbus-c++
-# Copyright 2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2013-2016 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=libdbus-c++
VERSION=0.9.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,8 +69,12 @@ 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 {} \;
+# Fix compiling with newer gcc versions
patch -p0 -i $CWD/gcc47.patch
+# Fix https://sourceforge.net/p/dbus-cplusplus/bugs/5/
+patch -p1 -i $CWD/nested_variant_map.patch
+
LDFLAGS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \