Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting
diff --git a/debian/control b/debian/control
index 20c5eff..65f46e4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: cpuburn
 Section: misc
 Priority: extra
 Maintainer: Aurelien Jarno 
-Build-Depends: debhelper (>> 4.0.0)
+Build-Depends: debhelper (>> 4.0.0), quilt (>= 0.40)
 Standards-Version: 3.7.3
 
 Package: cpuburn
diff --git a/debian/patches/01-data-allocation.diff b/debian/patches/01-data-allocation.diff
new file mode 100644
index 0000000..22d9afb
--- /dev/null
+++ b/debian/patches/01-data-allocation.diff
@@ -0,0 +1,44 @@
+--- cpuburn-1.4.orig/burnP5.S
++++ cpuburn-1.4/burnP5.S
+@@ -77,6 +77,7 @@
+ #else
+ 	int	$0x80
+ #endif
++.data				# Data allocation
+ .align 32,0
+ half:	.long 0xffffffff,0x3fdfffff
+ one:	.long 0xffffffff,0x3fefffff
+--- 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/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/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
+-
+-
diff --git a/debian/patches/02-gcc-m32.diff b/debian/patches/02-gcc-m32.diff
new file mode 100644
index 0000000..65bf0c2
--- /dev/null
+++ b/debian/patches/02-gcc-m32.diff
@@ -0,0 +1,7 @@
+--- cpuburn-1.4.orig/Makefile
++++ cpuburn-1.4/Makefile
+@@ -1,3 +1,3 @@
+ all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
Do you need help?X
+ .S: +- gcc -s -nostdlib -o $@ $< ++ gcc -m32 -s -nostdlib -o $@ $< diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6ec46f6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +01-data-allocation.diff +02-gcc-m32.diff diff --git a/debian/rules b/debian/rules index a4c1ef5..06f202e 100755 --- a/debian/rules +++ b/debian/rules @@ -5,13 +5,15 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: build-stamp +include /usr/share/quilt/quilt.make + +build: patch build-stamp build-stamp: dh_testdir $(MAKE) touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f burnP5 burnP6 burnK6 burnK7 burnBX burnMMX

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library