Package: smail Version: 3.2.0.115-6 Severity: important Tags: patch smail suffers FTBFS on amd64 due to a bad errno declaration:
gcc -DSTATIC=static -O2 -I/usr/include addlink.o addnode.o domain.o local.o main.o mapit.o mapaux.o mem.o parse.o printit.o -o pathalias -lresolv -lresolv -lident -lwrap -lnsl ../../pd/sdbm/sdbm.a ../../compat/libcompat.a collect2: ld terminated with signal 11 [Segmentation fault] /usr/bin/ld: BFD 2.15 assertion fail ../../bfd/elflink.c:6081 make[3]: *** [pathalias] Error 1 make[3]: Leaving directory `/tmp/pkg/smail-3.2.0.115/pd/pathalias' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/pkg/smail-3.2.0.115/pd' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/pkg/smail-3.2.0.115' Fast fix, which shouldn't break any GNUish systems: diff -Naur smail-3.2.0.115/pd/pathalias/domain.c smail-3.2.0.115.fixed/pd/pathalias/domain.c --- smail-3.2.0.115/pd/pathalias/domain.c 2003-03-27 19:59:56.000000000 +0100 +++ smail-3.2.0.115.fixed/pd/pathalias/domain.c 2005-03-07 11:46:54.552325453 +0100 @@ -12,6 +12,7 @@ extern dom *newdom(); extern void die(); extern char *strsave(); +#include <errno.h> extern int errno, Vflag; /* exports */ -ukh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]