Submitted By: BLFS Book Date: 2003-10-04 Initial Package Version: 0.76 Origin: ftp://moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch Description: Fixes compilation with newer versions of glibc. diff -u qmail-1.03.old/cdb_seek.c qmail-1.03/cdb_seek.c --- qmail-1.03.old/cdb_seek.c 1998-06-15 05:52:55.000000000 -0500 +++ qmail-1.03/cdb_seek.c 2003-01-08 15:55:53.000000000 -0600 @@ -1,6 +1,5 @@ #include #include -extern int errno; #include "cdb.h" #ifndef SEEK_SET diff -u qmail-1.03.old/dns.c qmail-1.03/dns.c --- qmail-1.03.old/dns.c 1998-06-15 05:52:55.000000000 -0500 +++ qmail-1.03/dns.c 2003-01-08 16:00:32.000000000 -0600 @@ -7,8 +7,6 @@ #include extern int res_query(); extern int res_search(); -extern int errno; -extern int h_errno; #include "ip.h" #include "ipalloc.h" #include "fmt.h" diff -u qmail-1.03.old/error.3 qmail-1.03/error.3 --- qmail-1.03.old/error.3 1998-06-15 05:52:55.000000000 -0500 +++ qmail-1.03/error.3 2003-01-08 15:58:13.000000000 -0600 @@ -3,8 +3,7 @@ error \- syscall error codes .SH SYNTAX .B #include - -extern int \fBerrno\fP; +.B #include extern int \fBerror_intr\fP; .br diff -u qmail-1.03.old/error.h qmail-1.03/error.h --- qmail-1.03.old/error.h 1998-06-15 05:52:55.000000000 -0500 +++ qmail-1.03/error.h 2003-01-08 15:59:13.000000000 -0600 @@ -1,7 +1,7 @@ #ifndef ERROR_H #define ERROR_H -extern int errno; +#include extern int error_intr; extern int error_nomem;