diff options
author | Matteo Bernardini | 2019-12-31 15:55:40 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-12-31 15:55:40 +0100 |
commit | 30778e822d6ef153cd8936acaa45deeeb8f5374a (patch) | |
tree | 9605719730f63b62fb4e9c22167b36c60ceb950f /libraries/wvstreams/wvstreams.SlackBuild | |
parent | 82bbd880da5d554ddb98a82fcf8c17cc2131d56a (diff) | |
download | slackbuilds-09a5bf3404bab1e2761ed811c0f3c63e2bc4573c.tar.gz |
20191231.1 global branch merge.current-20191231.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/wvstreams/wvstreams.SlackBuild')
-rw-r--r-- | libraries/wvstreams/wvstreams.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/wvstreams/wvstreams.SlackBuild b/libraries/wvstreams/wvstreams.SlackBuild index 562bb05d11..fe600b62c9 100644 --- a/libraries/wvstreams/wvstreams.SlackBuild +++ b/libraries/wvstreams/wvstreams.SlackBuild @@ -59,13 +59,20 @@ 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 +# Fix build against openssl +patch -p1 < $CWD/patches/openssl-buildfix.patch # configure doesn't support disabling static libraries # Don't manually remove them either, as wvdial won't build then :) # Added more flags to avoid aborting when building with gcc-4.7.x # https://bugs.gentoo.org/show_bug.cgi?id=419971 +LIBS="-L/usr/lib${LIBDIRSUFFIX}/openssl-1.0" \ CFLAGS="$SLKCFLAGS -fno-tree-dce -fno-optimize-sibling-calls" \ -CXXFLAGS="$SLKCFLAGS -fno-tree-dce -fno-optimize-sibling-calls" \ +CXXFLAGS="$SLKCFLAGS -fno-tree-dce -fno-optimize-sibling-calls -I/usr/include/openssl-1.0" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |