commit:     6a0b9be109a36aa0593822c70907de64612d5306
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Jun 18 17:27:58 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 18:50:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0b9be1

net-ftp/ncftp: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch | 66 -------------------------
 net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch | 13 -----
 2 files changed, 79 deletions(-)

diff --git a/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch 
b/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch
deleted file mode 100644
index d8529490cd1e..000000000000
--- a/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-Fix compilation with clang-16
-
-aclocal.m4 contains code that no longer compiles: missing headers and missing
-return types.
-
---- a/autoconf_local/aclocal.m4
-+++ b/autoconf_local/aclocal.m4
-@@ -3057,6 +3057,7 @@
- #include <sys/uio.h>
- #include <sys/socket.h>
- #include <sys/un.h>
-+#include <string.h>
- ],[
- struct sockaddr_un uaddr;
- 
-@@ -3285,6 +3286,7 @@
- #ifdef HAVE_RESOLV_H
- #     include <resolv.h>
- #endif
-+#include <string.h>
- ],[
-       /* function-body */
-       int len;
-@@ -3363,6 +3365,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-                
-+                      int
-                       main(int argc, char **argv)
-                       {
-                               /* Note:  don't actually call readline,
-@@ -5145,6 +5148,7 @@
- #ifdef HAVE_STDLIB_H
- #     include <stdlib.h>
- #endif
-+#include <string.h>
- 
- #ifdef HAVE_NCURSES_H
- #     define NCURSES_OPAQUE 0
-@@ -5176,6 +5180,7 @@
- #endif
- 
-  
-+int
- main(int argc, char **argv)
- {
-       /* Note:  don't actually call curses, since it may block;
-@@ -6510,7 +6515,6 @@
- #endif
- #endif                        /* MG */
- 
--int
- int  main(void)
- {
-       char *data, *data2, *data3;
-@@ -6607,8 +6611,9 @@
-       AC_CACHE_CHECK(whether setvbuf arguments are reversed,
-         ac_cv_func_setvbuf_reversed,
-       [AC_TRY_RUN([#include <stdio.h>
-+      $include <stdlib.h>
-       /* If setvbuf has the reversed format, exit 0. */
--      main () {
-+      int main (void) {
-         /* This call has the arguments reversed.
-            A reversed system may check and see that the address of main
-            is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */

diff --git a/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch 
b/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
deleted file mode 100644
index f40f85e41d9e..000000000000
--- a/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://bugs.gentoo.org/921487
-
---- a/autoconf_local/aclocal.m4
-+++ b/autoconf_local/aclocal.m4
-@@ -4196,7 +4196,7 @@
- #include <sys/select.h>
- #endif
- #include <sys/socket.h>       /* MG: always incl */
--extern select 
($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
-+extern int select 
($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
-         [ac_not_found=no ; break 3],ac_not_found=yes)
-       done
-      done

Reply via email to