diff options
Diffstat (limited to 'community/cpuburn/cpuburn.patch')
-rw-r--r-- | community/cpuburn/cpuburn.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/cpuburn/cpuburn.patch b/community/cpuburn/cpuburn.patch new file mode 100644 index 000000000..4bcd978b7 --- /dev/null +++ b/community/cpuburn/cpuburn.patch @@ -0,0 +1,41 @@ +--- cpuburn-1.4.orig/burnP6.S ++++ cpuburn-1.4/burnP6.S +@@ -69,6 +69,7 @@ + push %eax # *BSD syscall + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff +--- cpuburn-1.4.orig/burnK6.S ++++ cpuburn-1.4/burnK6.S +@@ -68,6 +68,7 @@ + push %eax + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff +--- cpuburn-1.4.orig/Makefile ++++ cpuburn-1.4/Makefile +@@ -1,3 +1,3 @@ + all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX + .S: +- gcc -s -nostdlib -o $@ $< ++ gcc -m32 -s -nostdlib -o $@ $< +--- cpuburn-1.4.orig/burnK7.S ++++ cpuburn-1.4/burnK7.S +@@ -74,10 +74,9 @@ + push %eax + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + .fill 64 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff + rt: .long 0xffffffff,0x3fefffff +- +- |