summaryrefslogtreecommitdiff
path: root/net-fs/openafs/files/0010-libperl.patch
diff options
context:
space:
mode:
authorCheyenne Wills <cwills@witznd.net>2024-11-14 12:31:06 -0700
committerSam James <sam@gentoo.org>2024-11-16 09:31:49 +0000
commit0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf (patch)
tree0ac32fbacacdb3a6b992f80a7c80eea92c879a71 /net-fs/openafs/files/0010-libperl.patch
parent5b38bc86d19b0b39aa7c74ad9b015ab831321e2e (diff)
downloadgentoo-0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf.tar.gz
gentoo-0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf.tar.bz2
gentoo-0f31b49a7cacc5f9e71b5721c46879eb7c6d46bf.zip
net-fs/openafs: add 1.8.13
Closes: https://bugs.gentoo.org/943361 Closes: https://bugs.gentoo.org/933779 Closes: https://bugs.gentoo.org/910214 Closes: https://bugs.gentoo.org/886183 Closes: https://bugs.gentoo.org/908700 Closes: https://bugs.gentoo.org/909327 Closes: https://bugs.gentoo.org/828989 Closes: https://bugs.gentoo.org/926801 Signed-off-by: Cheyenne Wills <cwills@witznd.net> Closes: https://github.com/gentoo/gentoo/pull/39306 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-fs/openafs/files/0010-libperl.patch')
-rw-r--r--net-fs/openafs/files/0010-libperl.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-fs/openafs/files/0010-libperl.patch b/net-fs/openafs/files/0010-libperl.patch
new file mode 100644
index 000000000000..b73ccf19e400
--- /dev/null
+++ b/net-fs/openafs/files/0010-libperl.patch
@@ -0,0 +1,31 @@
+From b9bd06a715cf2a68c73d6bdf57d475ae5d1d61d5 Mon Sep 17 00:00:00 2001
+From: Andrew Savchenko <bircoph@gmail.com>
+Date: Sat, 5 Jan 2019 10:15:03 +0300
+Subject: [PATCH 10/13] libperl
+
+Filter out -lnsl reported by perl.
+libnsl it is neither needed nor provided.
+
+(cherry picked from commit 243186f42cc84af2ff90f6710c6e76b1a4121064)
+(cherry picked from commit 99183cb191e653288ed8ed656ecd9f484a1715e3)
+(cherry picked from commit e27f7a255c4f064c149d57ed965523ef9932f436)
+---
+ src/libuafs/Makefile.common.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libuafs/Makefile.common.in b/src/libuafs/Makefile.common.in
+index 941605027176..eca360777151 100644
+--- a/src/libuafs/Makefile.common.in
++++ b/src/libuafs/Makefile.common.in
+@@ -142,7 +142,7 @@ RX =../rx
+ AFSINT=../afsint
+ LIB =../lib
+ SWIG_PERL_CFLAGS = -fPIC `perl -MExtUtils::Embed -e ccopts`
+-SWIG_PERL_LDFLAGS = -fPIC `perl -MExtUtils::Embed -e ldopts`
++SWIG_PERL_LDFLAGS = -fPIC `perl -MExtUtils::Embed -e ldopts | sed "s/-lnsl //g"`
+ SWIG = @SWIG@
+ LIBUAFS_BUILD_PERL = @LIBUAFS_BUILD_PERL@
+
+--
+2.45.2
+