Dash:
[t2.git] / package / network / clockspeed / x-cross.patch
blobf21c9e46465f6389465192e76912fd73eec3eaf1
1 --- clockspeed-0.62/Makefile 2006-01-02 22:00:37.000000000 +0100
2 +++ clockspeed-0.62/Makefile 2006-01-02 23:04:32.000000000 +0100
3 @@ -21,7 +21,7 @@
5 auto_home.c: \
6 auto-str conf-home
7 - ./auto-str auto_home `head -n 1 conf-home` > auto_home.c
8 + echo -e "#include \"auto_home.h\"\nchar auto_home[]=\"`head -n 1 conf-home`\";" > auto_home.c
10 auto_home.o: \
11 compile auto_home.c
12 @@ -153,8 +153,8 @@
14 hasrdtsc.h: \
15 tryrdtsc.c compile load
16 - ( ( ./compile tryrdtsc.c && ./load tryrdtsc && ./tryrdtsc \
17 + ( ( ./compile tryrdtsc.c && ./load tryrdtsc \
18 ) >/dev/null 2>&1 \
19 && echo \#define HASRDTSC 1 || exit 0 ) > hasrdtsc.h
20 rm -f tryrdtsc.o tryrdtsc