1 |
commit: 8af307971f9af69a21d9a423650a5db5b9857ed2 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 28 21:25:45 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 28 21:25:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af30797 |
7 |
|
8 |
net-ftp/proftpd: backport upstream slibtool workaround |
9 |
|
10 |
Reported-by: Toralf Förster |
11 |
Closes: https://bugs.gentoo.org/778332 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
.../proftpd/files/proftpd-1.3.7a-slibtool.patch | 34 ++++++++++++++++++++++ |
16 |
net-ftp/proftpd/proftpd-1.3.7a-r1.ebuild | 1 + |
17 |
2 files changed, 35 insertions(+) |
18 |
|
19 |
diff --git a/net-ftp/proftpd/files/proftpd-1.3.7a-slibtool.patch b/net-ftp/proftpd/files/proftpd-1.3.7a-slibtool.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..35676777da0 |
22 |
--- /dev/null |
23 |
+++ b/net-ftp/proftpd/files/proftpd-1.3.7a-slibtool.patch |
24 |
@@ -0,0 +1,34 @@ |
25 |
+https://bugs.gentoo.org/778332 |
26 |
+https://github.com/proftpd/proftpd/commit/4ffe04158840130e023ed3d3e558b8d70e28e20e |
27 |
+ |
28 |
+From 2a15ce409f70c67ba9b1e09de67c3fca0b38eff8 Mon Sep 17 00:00:00 2001 |
29 |
+From: orbea <orbea@××××××.net> |
30 |
+Date: Sun, 21 Mar 2021 12:38:52 -0700 |
31 |
+Subject: [PATCH] build: Fix linking the static libsupp.a library. |
32 |
+ |
33 |
+--- |
34 |
+ configure.in | 2 +- |
35 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
36 |
+ |
37 |
+--- a/configure.in |
38 |
++++ b/configure.in |
39 |
+@@ -88,7 +88,7 @@ if test $ac_cv_prog_gcc = no -a "$OSTYPE" = "-DHPUX10"; then |
40 |
+ CFLAGS="$CFLAGS -Ae" |
41 |
+ fi |
42 |
+ |
43 |
+-LDFLAGS="-L\$(top_srcdir)/lib -L\$(top_builddir)/lib $LDFLAGS" |
44 |
++LDFLAGS="-Wl,-L\$(top_srcdir)/lib,-L\$(top_builddir)/lib $LDFLAGS" |
45 |
+ |
46 |
+ # AIX has issues with the -rdynamic linker flag. How many different AIX |
47 |
+ # versions should we support here? |
48 |
+--- a/configure |
49 |
++++ b/configure |
50 |
+@@ -14932,7 +14944,7 @@ if test $ac_cv_c_compiler_gnu = no -a "$OSTYPE" = "-DHPUX10"; then |
51 |
+ CFLAGS="$CFLAGS -Ae" |
52 |
+ fi |
53 |
+ |
54 |
+-LDFLAGS="-L\$(top_srcdir)/lib -L\$(top_builddir)/lib $LDFLAGS" |
55 |
++LDFLAGS="-Wl,-L\$(top_srcdir)/lib,-L\$(top_builddir)/lib $LDFLAGS" |
56 |
+ |
57 |
+ # AIX has issues with the -rdynamic linker flag. How many different AIX |
58 |
+ # versions should we support here? |
59 |
|
60 |
diff --git a/net-ftp/proftpd/proftpd-1.3.7a-r1.ebuild b/net-ftp/proftpd/proftpd-1.3.7a-r1.ebuild |
61 |
index 249498784d2..7bef13f65e4 100644 |
62 |
--- a/net-ftp/proftpd/proftpd-1.3.7a-r1.ebuild |
63 |
+++ b/net-ftp/proftpd/proftpd-1.3.7a-r1.ebuild |
64 |
@@ -72,6 +72,7 @@ PATCHES=( |
65 |
"${FILESDIR}"/${PN}-1.3.6-use-trace.patch |
66 |
"${FILESDIR}"/${P}-tinfow-segv.patch |
67 |
"${FILESDIR}"/${P}-no-ncurses.patch |
68 |
+ "${FILESDIR}"/${P}-slibtool.patch |
69 |
) |
70 |
|
71 |
RESTRICT=test # Some tests are ran in chroot. Confuse sandbox. |