summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-hurd.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:21:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:21:36 +0000
commitbeeaba90c96877f915e8fd9e460518e01a426f2a (patch)
tree562e5ff7ed2412b9d9d1da55d00ad41b74c2914f /debian/patches/0001-hurd.patch
parentAdding upstream version 3.4. (diff)
downloaddmidecode-beeaba90c96877f915e8fd9e460518e01a426f2a.tar.xz
dmidecode-beeaba90c96877f915e8fd9e460518e01a426f2a.zip
Adding debian version 3.4-1.debian/3.4-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-hurd.patch')
-rw-r--r--debian/patches/0001-hurd.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0001-hurd.patch b/debian/patches/0001-hurd.patch
new file mode 100644
index 0000000..8f26387
--- /dev/null
+++ b/debian/patches/0001-hurd.patch
@@ -0,0 +1,16 @@
+Author: Svante Signell <svante.signell@telia.com>
+Description: Enable build of all targets on GNU/Hurd (Closes: #643649).
+
+Index: trunk/Makefile
+===================================================================
+--- trunk.orig/Makefile
++++ trunk/Makefile
+@@ -44,7 +44,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