summaryrefslogtreecommitdiff
path: root/net-libs/wvstreams/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /net-libs/wvstreams/files
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
Diffstat (limited to 'net-libs/wvstreams/files')
-rw-r--r--net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch10
-rw-r--r--net-libs/wvstreams/files/wvstreams-99999-soname.patch11
2 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch b/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch
new file mode 100644
index 000000000000..0bf2bc4a7b02
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch
@@ -0,0 +1,10 @@
+--- a/config.ac
++++ b/config.ac
+@@ -444,7 +444,6 @@
+ if test "$with_openssl" != "no"; then
+ if test "$with_openssl" != ""; then
+ WV_APPEND(CPPFLAGS, [-I$with_openssl/include])
+- WV_APPEND(LDFLAGS, [-L$with_openssl])
+ fi
+ AC_CHECK_HEADERS(openssl/ssl.h,, [with_openssl=no],
+ [#define OPENSSL_NO_KRB5])
diff --git a/net-libs/wvstreams/files/wvstreams-99999-soname.patch b/net-libs/wvstreams/files/wvstreams-99999-soname.patch
new file mode 100644
index 000000000000..9dd0d8ab8260
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-99999-soname.patch
@@ -0,0 +1,11 @@
+--- a/default.so.do
++++ b/default.so.do
+@@ -47,7 +47,7 @@
+ redo-ifchange "$OUT/$2.a"
+ ln -s $2.a "$sofile"
+ else
+- $CXX -o "$sofile" -shared \
++ $CXX -o "$sofile" -shared -Wl,-soname,$sofile \
+ $zdefs \
+ $LDFLAGS \
+ $obj $libdep $libs