summaryrefslogtreecommitdiff
path: root/net-ftp/ncftp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-16 18:48:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-16 18:48:52 +0000
commitf265f17242b04ae036b4dc174fa95401d895dbc5 (patch)
tree8daa848087a673b8bf5dad576b0a08048d551da7 /net-ftp/ncftp
parentd08ea43e9ada434f42f4be8e115b67ab22ce38af (diff)
gentoo auto-resync : 16:03:2024 - 18:48:51
Diffstat (limited to 'net-ftp/ncftp')
-rw-r--r--net-ftp/ncftp/Manifest2
-rw-r--r--net-ftp/ncftp/files/ncftp-3.2.6-fix-clang.patch437
-rw-r--r--net-ftp/ncftp/files/ncftp-3.2.6-fno-common.patch68
3 files changed, 0 insertions, 507 deletions
diff --git a/net-ftp/ncftp/Manifest b/net-ftp/ncftp/Manifest
index bd667718db3d..aa9f2ad0e5dc 100644
--- a/net-ftp/ncftp/Manifest
+++ b/net-ftp/ncftp/Manifest
@@ -1,5 +1,3 @@
-AUX ncftp-3.2.6-fix-clang.patch 7325 BLAKE2B 47fd1c348e5b4190ccf6e6d73806230a8c8de59873b5b31623789abe5f758467e19755f9e206a1fc92a89a0dea3611530f86261f2d25365347e6e418def6d13f SHA512 0fdc7554e990a684c447be6d0d613849ea1c1117faa3f287722d5a0c6beae175f51209f10d5b384f1e28f7cf375c075a239dc2e688be2584c3344995762c1cb7
-AUX ncftp-3.2.6-fno-common.patch 1818 BLAKE2B 620e3fbc7e297d3186fe9eef8855e2a663a5abcd680269101d5547ab9f6b9addcfe6040ba35e16e8e540784796e34304a9377b1149f7ac00fe0859627a141200 SHA512 c6bf0cc4324583d9aae3f3a57c900437a78d30138d0b9da06fea66cd5fbf57a79ea420afe33536a5bbcf2ace61aaca30ea04155df638daeae125ed9ca90b1c25
AUX ncftp-3.2.7-fix-clang.patch 1440 BLAKE2B b2f046dc6d91452edfdf0f666d67363cbbe944e7f4e93b83a322fcd92e4bb3af4af65ec5757ad204f9d9e05fcd9c93e56904ba77756bb08b72905d7c76bb471b SHA512 84de37d6c5beffb15736b7ee07cc8c0a3bb4d0c86dad5188dc4c44858e1862314611cd8c3ba32f2f6f337128dc25a32b8940c3a84df374b6cb2ff17a3848a6b7
AUX ncftp-3.2.7-fix-gcc14.patch 580 BLAKE2B 4db070ba0c247f385e5feda778eb87e0b4864028fc3ac51f1c39e135f409d4411b1f5a93115a342ad4fcd56dd495a64f86b8107acdca0c6981735abc6d0cfca0 SHA512 c65a6ec2a53669f3c872fd8778eeaeab9be81dbf222f96537be6df2d6d8ad8b3f650764fe19643cd18613acd192f860f6db4bb9bb9c76f297597f9b6072695f3
DIST ncftp-3.2.7-src.tar.xz 422480 BLAKE2B d075be273d534b11385b8ee5839835102d9f69a6cc8fc8f661b85be32c1cad3b1c4bab2c99b8c47bc3c40d18275524b88da7d8e70985dbb0cfb7ff5ea07b70f3 SHA512 b755385a57ac2487625c15985f091d9e1b71073b2593faffe1f2bbba34e691cfff9ffd8448b048f223ea08428e890f30c49a903e4f938393e3c0e4ae03ddab37
diff --git a/net-ftp/ncftp/files/ncftp-3.2.6-fix-clang.patch b/net-ftp/ncftp/files/ncftp-3.2.6-fix-clang.patch
deleted file mode 100644
index 21b4a5601d36..000000000000
--- a/net-ftp/ncftp/files/ncftp-3.2.6-fix-clang.patch
+++ /dev/null
@@ -1,437 +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
-@@ -192,6 +192,7 @@
- #include "pchtest.h"
- #pragma hdrstop
- #include <stdarg.h>
-+#include <stdlib.h>
-
- int main(int argc, char **argv)
- {
-@@ -1242,7 +1243,9 @@
- AC_MSG_CHECKING([if -D__STDC_EXT__ is needed with GCC on HP-UX])
- AC_TRY_RUN([
- #include <stdio.h>
-+#include <stdlib.h>
-
-+int
- main()
- {
- #ifdef __STDC_EXT__
-@@ -1674,7 +1677,9 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <stdio.h>
-+#include <stdlib.h>
-
-+int
- main()
- {
- int result;
-@@ -1816,6 +1821,7 @@
- # include <snprintf.h>
- #endif
-
-+int
- main()
- {
- char s[16];
-@@ -1876,6 +1882,7 @@
- # include <snprintf.h>
- #endif
-
-+int
- main()
- {
- int result;
-@@ -2004,7 +2011,9 @@
- #ifdef HAVE_SYS_UN_H
- #include <sys/un.h>
- #endif
-+#include <stdlib.h>
-
-+int
- main()
- {
- int sfd;
-@@ -2088,7 +2097,9 @@
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <netdb.h>
-+#include <stdlib.h>
-
-+int
- main()
- {
- struct hostent *hp1, *hp2;
-@@ -2134,6 +2145,7 @@
- #endif
- #include <sys/types.h>
- #include <stdio.h>
-+#include <stdlib.h>
-
- /* These are needed if libwrap.a was compiled with
- * PROCESS_OPTIONS defined.
-@@ -2238,6 +2250,7 @@
- #include <stdio.h>
- #include <signal.h>
- #include <setjmp.h>
-+#include <stdlib.h>
- ],[
- /* function-body */
- sigjmp_buf sjb;
-@@ -2265,6 +2278,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmp.h>
-+#include <stdlib.h>
- ],[
- struct utmp u;
-
-@@ -2288,6 +2302,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmp.h>
-+#include <stdlib.h>
- ],[
- struct utmp u;
-
-@@ -2311,6 +2326,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmpx.h>
-+#include <stdlib.h>
- ],[
- struct utmpx u;
-
-@@ -2334,6 +2350,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmpx.h>
-+#include <stdlib.h>
- ],[
- struct utmpx u;
-
-@@ -2357,6 +2374,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmpx.h>
-+#include <stdlib.h>
- ],[
- struct utmpx u;
-
-@@ -2380,6 +2398,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmp.h>
-+#include <stdlib.h>
- ],[
- struct utmp u;
-
-@@ -2403,6 +2422,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmp.h>
-+#include <stdlib.h>
- ],[
- struct utmp u;
-
-@@ -2427,6 +2447,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmp.h>
-+#include <stdlib.h>
- ],[
- struct utmp u;
-
-@@ -2450,6 +2471,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <utmp.h>
-+#include <stdlib.h>
- ],[
- struct utmp u;
-
-@@ -2482,6 +2504,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- size_t x = 0;
-@@ -2545,6 +2568,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- off_t x = 0;
-@@ -2608,6 +2632,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- struct stat x;
-@@ -2671,6 +2696,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- off64_t x = 0;
-@@ -2732,6 +2758,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- struct stat64 x;
-@@ -2789,6 +2816,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <stdlib.h>
- ],[
- struct stat64 st;
-
-@@ -2815,6 +2843,7 @@
- #include <sys/uio.h>
- #include <sys/socket.h>
- #include <sys/un.h>
-+#include <stdlib.h>
- ],[
- struct cmsghdr cm;
-
-@@ -2844,6 +2873,7 @@
- #include <sys/uio.h>
- #include <sys/socket.h>
- #include <sys/un.h>
-+#include <stdlib.h>
- ],[
- struct msghdr m;
-
-@@ -2872,6 +2902,7 @@
- #include <sys/uio.h>
- #include <sys/socket.h>
- #include <sys/un.h>
-+#include <stdlib.h>
- ],[
- struct msghdr m;
-
-@@ -2975,6 +3006,8 @@
- #include <sys/uio.h>
- #include <sys/socket.h>
- #include <sys/un.h>
-+#include <stdlib.h>
-+#include <string.h>
- ],[
- struct sockaddr_un uaddr;
-
-@@ -3004,6 +3037,7 @@
- #elif defined(HAVE_SYS_VFS_H)
- # include <sys/vfs.h>
- #endif
-+#include <stdlib.h>
- ],[
- struct statfs st;
-
-@@ -3027,6 +3061,7 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <sys/statvfs.h>
-+#include <stdlib.h>
- ],[
- struct statvfs st;
-
-@@ -3049,7 +3084,9 @@
- /* program */
- #include <stdio.h>
- #include <string.h>
-+#include <stdlib.h>
-
-+int
- main()
- {
- int result;
-@@ -3108,9 +3145,11 @@
- #endif
- #include <stdio.h>
- #include <string.h>
-+#include <stdlib.h>
-
- extern char *crypt(const char *key, const char *salt);
-
-+int
- main()
- {
- char cleartext[256];
-@@ -3182,6 +3221,7 @@
- #include <sys/socket.h>
- #include <arpa/inet.h>
- #include <netinet/in.h>
-+#include <string.h>
- #ifdef HAVE_ARPA_NAMESER_H
- # include <arpa/nameser.h>
- #endif
-@@ -3327,9 +3367,11 @@
- #include <unistd.h>
- #include <sys/types.h>
- #include <stdio.h>
-+#include <stdlib.h>
-
- extern char *rl_library_version;
-
-+int
- main()
- {
- FILE *fp;
-@@ -3446,9 +3488,11 @@
- #endif
- #include <sys/types.h>
- #include <stdio.h>
-+#include <stdlib.h>
-
- long long hugeNumvar = 1;
-
-+int
- main()
- {
- long long hugeNumtoo = 2;
-@@ -3495,6 +3539,7 @@
- #include <string.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- char s[80];
-@@ -3536,6 +3581,7 @@
- #include <string.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- char s[80];
-@@ -3585,6 +3631,7 @@
- #include <string.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- long long hugeNum, justAsHugeNum;
-@@ -3629,6 +3676,7 @@
- #include <string.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- long long hugeNum, justAsHugeNum;
-@@ -4076,7 +4124,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
-@@ -4226,7 +4274,9 @@
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <netdb.h>
-+#include <stdlib.h>
-
-+int
- main()
- {
- exit(0);
-@@ -5023,6 +5073,7 @@
- /* includes */
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
-
- #ifdef HAVE_NCURSES_H
- # define NCURSES_OPAQUE 0
-@@ -5054,6 +5105,7 @@
- #endif
-
-
-+int
- main(int argc, char **argv)
- {
- /* Note: don't actually call curses, since it may block;
-@@ -5142,6 +5194,7 @@
- # include <curses.h>
- #endif
-
-+int
- main()
- {
- exit(0);
-@@ -5809,7 +5862,9 @@
- cat <<EOF > "$vertest.c"
- #include <stdio.h>
- #include <gnu/libc-version.h>
-+#include <stdlib.h>
-
-+int
- main()
- {
- const char *ver = gnu_get_libc_version();
-@@ -5957,6 +6012,7 @@
- #include <stdlib.h>
- #include <ctype.h>
-
-+int
- main()
- {
- char line[256], *cp, *cp2;
-@@ -6109,6 +6165,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- FILE *fp;
-@@ -6166,6 +6223,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- struct stat x;
-@@ -6224,6 +6282,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+int
- main()
- {
- struct stat64 x;
-@@ -6457,7 +6516,8 @@
- ac_cv_func_setvbuf_reversed,
- [AC_TRY_RUN([#include <stdio.h>
- /* If setvbuf has the reversed format, exit 0. */
-- main () {
-+ #include <stdlib.h>
-+ int main () {
- /* 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.6-fno-common.patch b/net-ftp/ncftp/files/ncftp-3.2.6-fno-common.patch
deleted file mode 100644
index 8b17b9b39862..000000000000
--- a/net-ftp/ncftp/files/ncftp-3.2.6-fno-common.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- a/ncftp/bookmark.h
-+++ b/ncftp/bookmark.h
-@@ -59,3 +59,5 @@
- void DefaultBookmarkName(char *, size_t, char *);
- void DisposeBookmarkTable(void);
- int AddNewItemToBookmarkTable(void);
-+
-+extern Bookmark gBm;
---- a/ncftp/cmds.c
-+++ b/ncftp/cmds.c
-@@ -91,7 +91,6 @@
- extern char gOS[];
- extern int gAutoResume;
- extern int gAutoSaveChangesToExistingBookmarks;
--extern Bookmark gBm;
- extern int gLoadedBm, gConfirmClose, gSavePasswords, gScreenColumns;
- extern char gLocalCWD[512], gPrevLocalCWD[512];
- extern int gMayCancelJmp;
---- a/ncftp/main.c
-+++ b/ncftp/main.c
-@@ -38,7 +38,6 @@
- char gLocalCWD[512], gPrevLocalCWD[512];
-
- extern char gRemoteCWD[512], gPrevRemoteCWD[512];
--extern Bookmark gBm;
- extern int gLoadedBm;
- extern int gFirewallType;
- extern char gAutoAscii[];
---- a/sh_util/gpshare.c
-+++ b/sh_util/gpshare.c
-@@ -28,7 +28,6 @@
-
- static int gIsAtty1 = 1, gIsAtty2 = 1;
- extern int gLoadedBm, gBookmarkMatchMode;
--Bookmark gBm;
-
- double
- FileSize(double size, const char **uStr0, double *uMult0)
---- a/sh_util/ncftpget.c
-+++ b/sh_util/ncftpget.c
-@@ -40,7 +40,6 @@
- extern char gFirewallExceptionList[256];
- extern int gFwDataPortMode;
- extern const char gOS[], gVersion[];
--extern Bookmark gBm;
-
- static void
- Usage(void)
---- a/sh_util/ncftpls.c
-+++ b/sh_util/ncftpls.c
-@@ -39,7 +39,6 @@
- extern char gFirewallExceptionList[256];
- extern int gFwDataPortMode;
- extern const char gOS[], gVersion[];
--extern Bookmark gBm;
-
- static int FTPRemoteRecursiveMList(FTPCIPtr cip, const char *const rdir, /* FTPFileInfoListPtr files, */ FTPLineListPtr lines);
-
---- a/sh_util/ncftpput.c
-+++ b/sh_util/ncftpput.c
-@@ -41,7 +41,6 @@
- extern char gFirewallExceptionList[256];
- extern int gFwDataPortMode;
- extern const char gOS[], gVersion[];
--extern Bookmark gBm;
- extern int gSendfileInProgress;
-
- static void