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

slitaz-menus: add chinese name, change system-doc.desktop into UTF-8
author Chen Yufei <tsjz@ymail.com>
date Mon Jun 01 13:57:52 2009 +0800 (2009-06-01)
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 Jun 01 13:57:52 2009 +0800
     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 +