diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 20:37:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 20:37:23 +0000 |
commit | 78993d164455762782253a8869d2c44d8a79722f (patch) | |
tree | 8163b060bb406b6ef3b15daa4a1a60a202c91415 /sys-apps/netkit-base/files | |
parent | touchup (diff) | |
download | gentoo-2-78993d164455762782253a8869d2c44d8a79722f.tar.gz gentoo-2-78993d164455762782253a8869d2c44d8a79722f.tar.bz2 gentoo-2-78993d164455762782253a8869d2c44d8a79722f.zip |
Uncompress patches #120693 by Simon Stelling and just drop the ping related patches since we dont use ping from this package anymore.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps/netkit-base/files')
-rw-r--r-- | sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 | bin | 686 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 | bin | 425 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch | 11 | ||||
-rw-r--r-- | sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 | bin | 286 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch | 54 | ||||
-rw-r--r-- | sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 | bin | 722 -> 0 bytes |
6 files changed, 65 insertions, 0 deletions
diff --git a/sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 b/sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 Binary files differdeleted file mode 100644 index fa2fd58eb12e..000000000000 --- a/sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 b/sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 Binary files differdeleted file mode 100644 index e34ca47f0140..000000000000 --- a/sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch b/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch new file mode 100644 index 000000000000..266df811fd77 --- /dev/null +++ b/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch @@ -0,0 +1,11 @@ +--- netkit-base-0.17/inetd/servtab.c ++++ netkit-base-0.17/inetd/servtab.c +@@ -771,7 +771,7 @@ + return; + } + +-#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;} ++#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;} + + /* + * sep->se_wait may be holding the pid of a daemon diff --git a/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 b/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 Binary files differdeleted file mode 100644 index 1afea5a0bc72..000000000000 --- a/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch b/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch new file mode 100644 index 000000000000..9492d715e20f --- /dev/null +++ b/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch @@ -0,0 +1,54 @@ +--- netkit-base-0.17/inetd/builtins.c ++++ netkit-base-0.17/inetd/builtins.c +@@ -12,6 +12,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> ++#include <time.h> + + #include "servtab.h" + #include "builtins.h" +--- netkit-base-0.17/inetd/inetd.c ++++ netkit-base-0.17/inetd/inetd.c +@@ -869,8 +869,8 @@ + int on = 1; + + if ((sep->se_fd = socket(sep->se_family, sep->se_socktype, 0)) < 0) { +- syslog(LOG_ERR, "%s: socket: %m", service_name(sep), +- sep->se_service, sep->se_proto); ++ syslog(LOG_ERR, "%s: socket: %m", service_name(sep)); ++/* sep->se_service, sep->se_proto); */ + + if (errno == EMFILE) { + syslog(LOG_ALERT, +@@ -888,8 +888,8 @@ + syslog(LOG_ERR, "setsockopt (SO_REUSEADDR): %m"); + #undef turnon + if (bind(sep->se_fd, &sep->se_ctrladdr, sep->se_ctrladdr_size) < 0) { +- syslog(LOG_ERR, "%s: bind: %m", service_name(sep), +- sep->se_service, sep->se_proto); ++ syslog(LOG_ERR, "%s: bind: %m", service_name(sep)); ++/* sep->se_service, sep->se_proto); */ + (void) close(sep->se_fd); + sep->se_fd = -1; + if (!timingout) { +@@ -938,8 +938,8 @@ + } + m = sizeof(sn); + if (getsockname(sep->se_fd, (struct sockaddr *)&sn, &m) < 0) { +- syslog(LOG_ERR, "%s: getsockname: %m", service_name(sep), +- sep->se_service, sep->se_proto); ++ syslog(LOG_ERR, "%s: getsockname: %m", service_name(sep)); ++/* sep->se_service, sep->se_proto); */ + return; + } + +@@ -1026,7 +1026,7 @@ + if (rl.rlim_cur <= rlim_ofile_cur) { + syslog(LOG_ERR, + "bump_nofile: cannot extend file limit, max = %d", +- rl.rlim_cur); ++ (int)rl.rlim_cur); + return -1; + } + diff --git a/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 b/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 Binary files differdeleted file mode 100644 index 7afad31546d9..000000000000 --- a/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 +++ /dev/null |