summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-01-01 19:20:18 +0000
committerSven Wegener <swegener@gentoo.org>2008-01-01 19:20:18 +0000
commit2d0068bf1ecd811c1d8ced4ae194095769371d06 (patch)
treef7c2557c9939226a568746cb2bdc18100d47b23d /net-ftp/tnftp/files
parentVersion bump (diff)
downloadgentoo-2-2d0068bf1ecd811c1d8ced4ae194095769371d06.tar.gz
gentoo-2-2d0068bf1ecd811c1d8ced4ae194095769371d06.tar.bz2
gentoo-2-2d0068bf1ecd811c1d8ced4ae194095769371d06.zip
Add a patch to fix linking failure, bug #198906.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-ftp/tnftp/files')
-rw-r--r--net-ftp/tnftp/files/tnftp-20050625-libedit.patch16
-rw-r--r--net-ftp/tnftp/files/tnftp-20070806-libedit.patch20
2 files changed, 36 insertions, 0 deletions
diff --git a/net-ftp/tnftp/files/tnftp-20050625-libedit.patch b/net-ftp/tnftp/files/tnftp-20050625-libedit.patch
new file mode 100644
index 000000000000..25b05f02107c
--- /dev/null
+++ b/net-ftp/tnftp/files/tnftp-20050625-libedit.patch
@@ -0,0 +1,16 @@
+Completely disable external libedit support. When libedit is installed, the
+check will automatically add -ledit to LIBS and the result will be wrong
+strlcpy check results and linking failures.
+
+https://bugs.gentoo.org/198906
+
+--- tnftp-20050625/configure.in
++++ tnftp-20050625/configure.in
+@@ -40,7 +40,6 @@
+ if test $opt_editcomplete = yes; then
+ AC_SEARCH_LIBS(tgetent, [termcap termlib curses ncurses tinfo], ,
+ AC_MSG_ERROR([no relevant library found containing tgetent]))
+- AC_SEARCH_LIBS(el_init, [edit], [have_libedit=yes], [have_libedit=no])
+ fi
+ AC_LIBRARY_NET
+ AC_LIBRARY_SOCKS
diff --git a/net-ftp/tnftp/files/tnftp-20070806-libedit.patch b/net-ftp/tnftp/files/tnftp-20070806-libedit.patch
new file mode 100644
index 000000000000..235f4fd4b61e
--- /dev/null
+++ b/net-ftp/tnftp/files/tnftp-20070806-libedit.patch
@@ -0,0 +1,20 @@
+Completely disable external libedit support. When libedit is installed, the
+check will automatically add -ledit to LIBS and the result will be wrong
+strlcpy check results and linking failures.
+
+https://bugs.gentoo.org/198906
+
+--- tnftp-20070806/configure.ac
++++ tnftp-20070806/configure.ac
+@@ -84,10 +84,7 @@
+ [termcap termlib curses ncurses tinfo],
+ [],
+ [AC_MSG_ERROR(
+- [no relevant library found containing tgetent])])
+- AC_SEARCH_LIBS([el_init],
+- [edit],
+- [have_libedit=yes], [have_libedit=no])])
++ [no relevant library found containing tgetent])])])
+
+ AC_SEARCH_LIBS([gethostbyname], [nsl])
+ AC_SEARCH_LIBS([socket],