summarylogtreecommitdiffstats
path: root/clockspeed-0.62.errno.patch
diff options
context:
space:
mode:
authorvmalloc2015-06-13 21:18:23 +0200
committervmalloc2015-06-13 21:18:23 +0200
commitdf8777279f9e81cb32dfef7aa7cf9bd235eb6dbc (patch)
tree62a7624cc582392dbf953ff2ea6d326cb6866f5f /clockspeed-0.62.errno.patch
downloadaur-df8777279f9e81cb32dfef7aa7cf9bd235eb6dbc.tar.gz
Initial import
Diffstat (limited to 'clockspeed-0.62.errno.patch')
-rwxr-xr-xclockspeed-0.62.errno.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/clockspeed-0.62.errno.patch b/clockspeed-0.62.errno.patch
new file mode 100755
index 000000000000..0280d067afc2
--- /dev/null
+++ b/clockspeed-0.62.errno.patch
@@ -0,0 +1,33 @@
+diff -u clockspeed-0.62.old/clockview.c clockspeed-0.62/clockview.c
+--- clockspeed-0.62.old/clockview.c 1998-10-13 12:37:49.000000000 -0500
++++ clockspeed-0.62/clockview.c 2003-05-08 09:59:26.000000000 -0500
+@@ -1,5 +1,6 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
++#include <time.h>
+ #include "substdio.h"
+ #include "readwrite.h"
+ #include "strerr.h"
+diff -u clockspeed-0.62.old/error.h clockspeed-0.62/error.h
+--- clockspeed-0.62.old/error.h 1998-10-13 12:37:49.000000000 -0500
++++ clockspeed-0.62/error.h 2003-05-08 09:07:13.000000000 -0500
+@@ -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 clockspeed-0.62.old/leapsecs_read.c clockspeed-0.62/leapsecs_read.c
+--- clockspeed-0.62.old/leapsecs_read.c 1998-10-13 12:37:49.000000000 -0500
++++ clockspeed-0.62/leapsecs_read.c 2003-05-08 09:07:13.000000000 -0500
+@@ -2,7 +2,6 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"
+