]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/portmap-5beta-glibc_errno_fix-1.patch
HinzugefĆ¼gt:
[people/pmueller/ipfire-2.x.git] / src / patches / portmap-5beta-glibc_errno_fix-1.patch
diff --git a/src/patches/portmap-5beta-glibc_errno_fix-1.patch b/src/patches/portmap-5beta-glibc_errno_fix-1.patch
new file mode 100644 (file)
index 0000000..e38b7ae
--- /dev/null
@@ -0,0 +1,17 @@
+Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
+Date: 2003-10-04
+Initial Package Version: 5beta
+Origin: None
+Description: Fix compilation with recent glibc versions.
+--- 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"