summaryrefslogtreecommitdiffstats
path: root/libraries/wvstreams/wvstreams.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2017-08-07 16:31:24 +0200
committer Matteo Bernardini2017-08-07 16:31:24 +0200
commit16f7c508bb21dabaf5d8068454a31ca6f3d6c979 (patch)
treee3aea401c8004362cc89daa2db7b308fcb12598f /libraries/wvstreams/wvstreams.SlackBuild
parent5e5132bde843b256dd4833682296e363a01f78c2 (diff)
downloadold.slackbuilds-current-20170807.1.tar.gz
20170807.1 global branch merge.current-20170807.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/wvstreams/wvstreams.SlackBuild')
-rw-r--r--libraries/wvstreams/wvstreams.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/wvstreams/wvstreams.SlackBuild b/libraries/wvstreams/wvstreams.SlackBuild
index 562bb05d11..ba96227003 100644
--- a/libraries/wvstreams/wvstreams.SlackBuild
+++ b/libraries/wvstreams/wvstreams.SlackBuild
@@ -59,6 +59,10 @@ patch -p1 < $CWD/patches/wvstreams-4.6.1-parallel-make.patch
patch -p1 < $CWD/patches/wvstreams-4.6.1-gcc47.patch
# another patch for gcc and glibc > 2.12.0 from debian
patch -p1 < $CWD/patches/05_gcc.diff
+# another one for gcc-6.x from fedora
+patch -p1 < $CWD/patches/0001-Use-explicit-cast-and-prevent-compiler-error.patch
+# disable a warning (just for readability during build)
+sed -i "s|_BSD_SOURCE|_DEFAULT_SOURCE|" wvrules.mk
# configure doesn't support disabling static libraries
# Don't manually remove them either, as wvdial won't build then :)