Package: netkit-rsh Version: 0.17-13 Severity: important Tags: patch Hi,
netkit-rsh FTBFS on hurd-i386: the conditional is not correct, here is a fix into a correct (and portable) one. Also a fix for SOL_IP which isn't yet implemented (yes, IP_TOS is erroneously defined, but that can't be avoided without refactoring glibc a lot, which Uli won't want). Samuel -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.18-xen Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash -- Samuel Thibault <[EMAIL PROTECTED]> "c'est pas nous qui sommes à la rue, c'est la rue qui est à nous"
--- rlogin/rlogin.c.orig 2007-08-12 14:22:24.000000000 +0200 +++ rlogin/rlogin.c 2007-08-12 14:22:46.000000000 +0200 @@ -815,7 +815,7 @@ tios.c_cc[VTIME] = 1; tios.c_cc[VMIN] = 1; if (eight) tios.c_iflag &= ~(ISTRIP); -#if defined(__GNU__) && !(defined(TABDLY) && defined(TAB3)) +#if defined(TABDLY) && defined(TAB3) /* preserve tab delays, but turn off tab-to-space expansion */ if ((tios.c_oflag & TABDLY) == TAB3) tios.c_oflag &= ~TAB3; --- rlogind/network.c.orig 2007-08-12 09:00:47.220000000 +0000 +++ rlogind/network.c 2007-08-12 09:01:23.280000000 +0000 @@ -155,7 +155,7 @@ family = fromp->sa_family; -#ifdef IP_TOS +#if defined(SOL_IP) && defined(IP_TOS) #define IPTOS_LOWDELAY 0x10 on = IPTOS_LOWDELAY; if (family == AF_INET &&