summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2003-03-10 14:49:41 +0000
committerStefan Jones <cretin@gentoo.org>2003-03-10 14:49:41 +0000
commit87cd1fc42721a18d3711842d14f661239a70c696 (patch)
treecabb19a88081f963bddf38091b38f8e345a4b2cc /net-misc/clockspeed
parentsecond try (key change). remasking for sparc since deps aren't met (diff)
downloadhistorical-87cd1fc42721a18d3711842d14f661239a70c696.tar.gz
historical-87cd1fc42721a18d3711842d14f661239a70c696.tar.bz2
historical-87cd1fc42721a18d3711842d14f661239a70c696.zip
Added errno fixes to patch
Diffstat (limited to 'net-misc/clockspeed')
-rw-r--r--net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff b/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff
index 1f97b2b1b6d3..be4359465518 100644
--- a/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff
+++ b/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff
@@ -32,3 +32,26 @@ diff -ur clockspeed-0.62.orig/conf-ld clockspeed-0.62/conf-ld
#include "substdio.h"
#include "readwrite.h"
#include "strerr.h"
+diff -ur clockspeed-0.62.orig/error.h clockspeed-0.62/error.h
+--- clockspeed-0.62.orig/error.h 2003-03-10 14:41:55.000000000 +0000
++++ clockspeed-0.62/error.h 2003-03-10 14:45:09.000000000 +0000
+@@ -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 -ur clockspeed-0.62.orig/leapsecs_read.c clockspeed-0.62/leapsecs_read.c
+--- clockspeed-0.62.orig/leapsecs_read.c 2003-03-10 14:41:55.000000000 +0000
++++ clockspeed-0.62/leapsecs_read.c 2003-03-10 14:44:40.000000000 +0000
+@@ -2,7 +2,6 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"
+