Bug#833972: socks4-server
Source: socks4-server
Version: 4.3.beta2-19
Severity: important
Tags: patch upstream
Dear Maintainer,
glibc 2.24 has removed the deprecated BSD union wait type if favor of
the POSIX.1 interface using W* macros from <sys/wait.h> (such as
WEXITSTATUS) [1].
glibc 2.24 is already available in experimental and will plan to upload
it to sid in the next days/weeks. This will cause socks4-server to fail
to build from source. You will find attached a patch to fix the issue.
It unconditionally uses the "new" interface as the GNU libc supports it
since at least 1995, probably even earlier.
Please also note that this will not break the existing binaries, just
building the package from source.
Thanks,
Aurelien
[1] https://sourceware.org/ml/libc-alpha/2016-02/msg00342.html
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u socks4-server-4.3.beta2/rftp/cmds.c socks4-server-4.3.beta2/rftp/cmds.c
--- socks4-server-4.3.beta2/rftp/cmds.c
+++ socks4-server-4.3.beta2/rftp/cmds.c
@@ -1262,7 +1262,7 @@
int pid;
sig_t old1, old2;
char shellnam[40], *shell, *namep;
-#if defined(SOLARIS) || defined(__alpha) || defined(SCO) || defined(ISC)
+#if defined(SOLARIS) || defined(__alpha) || defined(SCO) || defined(ISC) || defined (__GLIBC__)
int status;
#else
union wait status;
Reply to: