diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-03-10 14:49:41 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-03-10 14:49:41 +0000 |
commit | 90239591b97306a33f5a661e709df788e06db7dc (patch) | |
tree | 4da3b234badda7a0e9dfebe1cab3155ddc2ee0b8 /net-misc | |
parent | second try (key change). remasking for sparc since deps aren't met (diff) | |
download | gentoo-2-90239591b97306a33f5a661e709df788e06db7dc.tar.gz gentoo-2-90239591b97306a33f5a661e709df788e06db7dc.tar.bz2 gentoo-2-90239591b97306a33f5a661e709df788e06db7dc.zip |
Added errno fixes to patch
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff | 23 |
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" + |