summaryrefslogtreecommitdiff
path: root/www/mMosaic/patches/patch-ag
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-19 22:44:27 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-19 22:44:27 +0000
commitf847442f060d9ee6c008a95bfdaa0d146261fadb (patch)
tree62ac9903ca72d6080caac1ba16e45f09270668f2 /www/mMosaic/patches/patch-ag
parentd1b9bd1a6f73abb974b0f7b39742de67f4bf69b9 (diff)
downloadpkgsrc-f847442f060d9ee6c008a95bfdaa0d146261fadb.tar.gz
Fix errno.
Diffstat (limited to 'www/mMosaic/patches/patch-ag')
-rw-r--r--www/mMosaic/patches/patch-ag21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/mMosaic/patches/patch-ag b/www/mMosaic/patches/patch-ag
new file mode 100644
index 00000000000..2a84a005c8f
--- /dev/null
+++ b/www/mMosaic/patches/patch-ag
@@ -0,0 +1,21 @@
+$NetBSD: patch-ag,v 1.1 2006/01/19 22:44:27 joerg Exp $
+
+--- src/file-proto.c.orig 2006-01-19 22:34:36.000000000 +0000
++++ src/file-proto.c
+@@ -11,6 +11,7 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <assert.h>
++#include <errno.h>
+
+ /* From seanm@storm.ca Fri Dec 8 04:44:43 2000 *
+ /* old: #if defined(SVR4) && !defined(SCO) && !defined(linux) */
+@@ -21,8 +22,6 @@
+ #include <unistd.h>
+ #endif
+
+-extern int errno;
+-
+ #include "../libnut/system.h"
+ #include "../libhtmlw/HTML.h"
+ #include "mosaic.h"