wok-current diff portmap/stuff/portmap-5beta-glibc_errno_fix-1.patch @ rev 9155

firmware: fix SOURCE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 13:02:30 2011 +0100 (2011-03-07)
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	Mon Mar 07 13:02:30 2011 +0100
     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 +