summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-09-10 15:58:45 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-09-10 15:58:45 +0000
commita510b8d3e8c08b06f9b597ae94853fc63c04eda2 (patch)
tree17db74304bb1a56106d4b6d1848afb4511017d1a /net-mail/serialmail/files/errno.patch
parentChanged app-emulation/epsxe to games-emulation/epsxe (diff)
downloadgentoo-2-a510b8d3e8c08b06f9b597ae94853fc63c04eda2.tar.gz
gentoo-2-a510b8d3e8c08b06f9b597ae94853fc63c04eda2.tar.bz2
gentoo-2-a510b8d3e8c08b06f9b597ae94853fc63c04eda2.zip
Fixing errno problem
Diffstat (limited to 'net-mail/serialmail/files/errno.patch')
-rw-r--r--net-mail/serialmail/files/errno.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mail/serialmail/files/errno.patch b/net-mail/serialmail/files/errno.patch
new file mode 100644
index 000000000000..884767c5e73a
--- /dev/null
+++ b/net-mail/serialmail/files/errno.patch
@@ -0,0 +1,20 @@
+--- serialmail-0.75/error.h 2003-09-10 20:08:05.000000000 +1200
++++ serialmail-0.75-gentoo/error.h 2003-09-10 20:30:50.000000000 +1200
+@@ -1,7 +1,7 @@
+ #ifndef ERROR_H
+ #define ERROR_H
+
+-extern int errno;
++#include <errno.h>
+
+ extern int error_intr;
+ extern int error_nomem;
+--- serialmail-0.75/leapsecs_read.c 2003-09-10 20:08:06.000000000 +1200
++++ serialmail-0.75-gentoo/leapsecs_read.c 2003-09-10 20:15:57.000000000 +1200
+@@ -2,7 +2,6 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"