Package: xdemorse Severity: important Tags: patch Hello,
xdemorse FTBFS on hurd-i386 because it uses OLCUC without #defining _GNU_SOURCE. OLCUC is a GNU extension, not a POSIX standard, so _GNU_SOURCE should be defined in order to get its definition. The Linux headers are lazy about that, but other systems (e.g. hurd-i386) aren't. The attached patch fixes that. Samuel -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Samuel quit When the quit statement is read, the bc processor is terminated, regardless of where the quit state- ment is found. For example, "if (0 == 1) quit" will cause bc to terminate. (Seen in the manpage for "bc". Note the "if" statement's logic)
--- src/cat.c.orig 2009-01-03 16:28:08.479366000 +0000 +++ src/cat.c 2009-01-03 16:27:58.555232000 +0000 @@ -22,6 +22,7 @@ * http://www.gnu.org/copyleft/gpl.txt */ +#define _GNU_SOURCE #include "xdemorse.h" #include <termios.h>