summaryrefslogtreecommitdiffstats
path: root/patches/portmap_5beta/portmap-5beta-glibc_errno_fix-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/portmap_5beta/portmap-5beta-glibc_errno_fix-1.patch')
-rw-r--r--patches/portmap_5beta/portmap-5beta-glibc_errno_fix-1.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/portmap_5beta/portmap-5beta-glibc_errno_fix-1.patch b/patches/portmap_5beta/portmap-5beta-glibc_errno_fix-1.patch
new file mode 100644
index 000000000..9826c1b8c
--- /dev/null
+++ b/patches/portmap_5beta/portmap-5beta-glibc_errno_fix-1.patch
@@ -0,0 +1,21 @@
+Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
+Date: 2003-10-04
+Initial Package Version: 5beta
+Origin: None
+Description: Fix compilation with recent glibc versions.
+
+$LastChangedBy: bdubbs $
+$Date: 2005-08-01 13:29:19 -0600 (Mon, 01 Aug 2005) $
+
+--- portmap_5beta/portmap.c 2003-03-10 12:32:26.000000000 -0600
++++ portmap_5beta/portmap.c.new 2003-03-10 12:38:01.000000000 -0600
+@@ -129,7 +129,8 @@
+ static void callit();
+ struct pmaplist *pmaplist;
+ int debugging = 0;
+-extern int errno;
++#include <errno.h>
++/* extern int errno; */
+
+ #include "pmap_check.h"
+