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

mediainfo: add build depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 10:38:59 2015 +0200 (2015-11-27)
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	Fri Nov 27 10:38:59 2015 +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 +