diff options
Diffstat (limited to 'sysutils/clockspeed/files/patch-aa')
-rw-r--r-- | sysutils/clockspeed/files/patch-aa | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/sysutils/clockspeed/files/patch-aa b/sysutils/clockspeed/files/patch-aa index 4483dda53433..45f6287d1e3c 100644 --- a/sysutils/clockspeed/files/patch-aa +++ b/sysutils/clockspeed/files/patch-aa @@ -1,6 +1,28 @@ ---- Makefile.orig Fri Jun 16 22:21:58 2000 -+++ Makefile Fri Jun 16 22:23:28 2000 -@@ -293,10 +293,10 @@ +--- Makefile.orig Tue Oct 13 15:37:28 1998 ++++ Makefile Sat Dec 21 14:50:57 2002 +@@ -74,6 +74,7 @@ + + clockspeed.o: \ + compile clockspeed.c readwrite.h exit.h select.h scan.h fmt.h str.h \ ++hasclock_gettime.h \ + fifo.h open.h error.h auto_home.h timing.h hasrdtsc.h hasgethr.h + ./compile clockspeed.c + +@@ -137,6 +138,13 @@ + ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o \ + fmt_ulong.o scan_ulong.o + ++hasclock_gettime.h: \ ++tryclock_gettime.c compile load ++ ( ( ./compile tryclock_gettime.c && ./load tryclock_gettime ) >/dev/null \ ++ 2>&1 \ ++ && echo \#define HASCLOCK_GETTIME 1 || exit 0 ) > hasclock_gettime.h ++ rm -f tryclock_gettime.o ++ + hasgethr.h: \ + trygethr.c compile load + ( ( ./compile trygethr.c && ./load trygethr ) >/dev/null \ +@@ -293,10 +301,10 @@ chmod 400 shar sntpclock: \ @@ -14,7 +36,7 @@ sntpclock.0: \ sntpclock.1 -@@ -406,10 +406,10 @@ +@@ -406,10 +414,10 @@ ./compile taia_unpack.c taiclock: \ @@ -28,7 +50,7 @@ taiclock.0: \ taiclock.1 -@@ -421,10 +421,10 @@ +@@ -421,10 +429,10 @@ ./compile taiclock.c taiclockd: \ |