wok-4.x diff portmap/stuff/portmap-5beta-glibc_errno_fix-1.patch @ rev 893

tazlito: include tazlitobox in the package
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jun 10 01:24:16 2008 +0200 (2008-06-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/portmap/stuff/portmap-5beta-glibc_errno_fix-1.patch	Tue Jun 10 01:24:16 2008 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
     1.5 +Date: 2003-10-04
     1.6 +Initial Package Version: 5beta
     1.7 +Origin: None
     1.8 +Description: Fix compilation with recent glibc versions.
     1.9 +--- portmap_5beta/portmap.c	2003-03-10 12:32:26.000000000 -0600
    1.10 ++++ portmap_5beta/portmap.c.new	2003-03-10 12:38:01.000000000 -0600
    1.11 +@@ -129,7 +129,8 @@
    1.12 + static void callit();
    1.13 + struct pmaplist *pmaplist;
    1.14 + int debugging = 0;
    1.15 +-extern int errno;
    1.16 ++#include <errno.h>
    1.17 ++/* extern int errno; */
    1.18 + 
    1.19 + #include "pmap_check.h"
    1.20 +