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

Up xorg-libXi (1.7.1.901), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 10:36:53 2013 +0200 (2013-06-30)
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	Sun Jun 30 10:36:53 2013 +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 +