cvs commit: patches/qmail qmail-1.03-errno.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sat Oct 4 18:55:55 PDT 2003


tushar      03/10/04 19:55:55

  Added:       qmail    qmail-1.03-errno.patch
  Log:
  Added qmail-1.03-errno.patch
  
  Revision  Changes    Path
  1.1                  patches/qmail/qmail-1.03-errno.patch
  
  Index: qmail-1.03-errno.patch
  ===================================================================
  ubmitted By: BLFS Book <blfs-book at linuxfromscratch.org>
  Date: 2003-10-04
  Initial Package Version: 0.76
  Origin: ftp://moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch
  Desciption: 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 <sys/types.h>
   #include <errno.h>
  -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 <errno.h>
   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 <error.h>
  -
  -extern int \fBerrno\fP;
  +.B #include <errno.h>
   
   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 <errno.h>
   
   extern int error_intr;
   extern int error_nomem;
  
  
  



More information about the patches mailing list