summaryrefslogtreecommitdiff
path: root/debian/patches/0001-hurd.patch
blob: 8f26387bba53eaedbfb4e0d1d6c0969e9f5833ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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