summaryrefslogtreecommitdiff
path: root/debian/patches/02-hurd.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-05-19 18:01:43 +0200
committerJörg Frings-Fürst <jff@merkur>2014-05-19 19:33:51 +0200
commitceca790acf456f95a0b5275d1db8ee2bfa53bed5 (patch)
tree57f094b08de57aee41c6d530ea9b3c3b7461d8a4 /debian/patches/02-hurd.patch
parent723024faf087b48ba8b93db6821bb17f52751120 (diff)
Imported Debian patch 2.12-3debian/2.12-3
Diffstat (limited to 'debian/patches/02-hurd.patch')
-rw-r--r--debian/patches/02-hurd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/02-hurd.patch b/debian/patches/02-hurd.patch
new file mode 100644
index 0000000..5c38948
--- /dev/null
+++ b/debian/patches/02-hurd.patch
@@ -0,0 +1,15 @@
+Author: Svante Signell <svante.signell@telia.com>
+Description: Enable build of all targets on GNU/Hurd (Closes: #643649).
+
+diff -Naurp dmidecode.orig/Makefile dmidecode/Makefile
+--- dmidecode.orig/Makefile 2011-09-28 06:23:12.627245890 +0200
++++ dmidecode/Makefile 2011-09-28 13:02:12.089955791 +0200
+@@ -39,7 +39,7 @@ INSTALL_PROGRAM := $(INSTALL) -m 755
+ RM := rm -f
+
+ # BSD make provides $MACHINE, but GNU make doesn't
+-MACHINE ?= $(shell uname -m 2>/dev/null)
++MACHINE ?= $(shell uname -m 2>/dev/null | cut - -d- -f 1)
+
+ # These programs are only useful on x86
+ PROGRAMS-i386 := biosdecode ownership vpddecode