summaryrefslogtreecommitdiff
path: root/network/serialmail/serialmail-0.75.errno.patch
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-06-30 14:16:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-30 14:16:11 +0700
commite08d2594b5e20e6effc6682076fc40dfb1dede11 (patch)
treec1496c94e833fc48aa28f09aa34eac9fce6a638f /network/serialmail/serialmail-0.75.errno.patch
parentc8d1ca49e344ec5f1bd26540106eccf532db18b6 (diff)
downloadslackbuilds-e08d2594b5e20e6effc6682076fc40dfb1dede11.tar.gz
network/serialmail: Added (pass mail over intermittent links).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/serialmail/serialmail-0.75.errno.patch')
-rw-r--r--network/serialmail/serialmail-0.75.errno.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/network/serialmail/serialmail-0.75.errno.patch b/network/serialmail/serialmail-0.75.errno.patch
new file mode 100644
index 0000000000..bf01d1b6f6
--- /dev/null
+++ b/network/serialmail/serialmail-0.75.errno.patch
@@ -0,0 +1,23 @@
+diff -u serialmail-0.75.orig/error.h serialmail-0.75/error.h
+--- serialmail-0.75.orig/error.h 1998-11-14 20:28:23.000000000 -0600
++++ serialmail-0.75/error.h 2004-01-29 11:15:32.000000000 -0600
+@@ -1,7 +1,7 @@
+ #ifndef ERROR_H
+ #define ERROR_H
+
+-extern int errno;
++#include <errno.h>
+
+ extern int error_intr;
+ extern int error_nomem;
+diff -u serialmail-0.75.orig/leapsecs_read.c serialmail-0.75/leapsecs_read.c
+--- serialmail-0.75.orig/leapsecs_read.c 1998-11-14 20:28:23.000000000 -0600
++++ serialmail-0.75/leapsecs_read.c 2004-01-29 11:20:09.000000000 -0600
+@@ -2,7 +2,6 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"
+