summaryrefslogtreecommitdiff
path: root/debian/patches/0016-startup-disable-default-payload-to-port-mapping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0016-startup-disable-default-payload-to-port-mapping.patch')
-rw-r--r--debian/patches/0016-startup-disable-default-payload-to-port-mapping.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0016-startup-disable-default-payload-to-port-mapping.patch b/debian/patches/0016-startup-disable-default-payload-to-port-mapping.patch
new file mode 100644
index 00000000..85d7f811
--- /dev/null
+++ b/debian/patches/0016-startup-disable-default-payload-to-port-mapping.patch
@@ -0,0 +1,32 @@
+From b8ec92af4bb14115ad14bbfa14a3dbece34f1ff1 Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Thu, 28 Nov 2013 20:57:40 +0100
+Subject: [PATCH hurd 16/29] startup: disable default payload to port mapping
+
+startup does not use libports. Therefor, it is not necessary to use the
+default payload to port translation function.
+
+* startup/Makefile (MIGSFLAGS): Disable the default payload to port
+translation function.
+---
+ startup/Makefile | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/startup/Makefile b/startup/Makefile
+index 23d35cb..ee2ecdd5 100644
+--- a/startup/Makefile
++++ b/startup/Makefile
+@@ -25,6 +25,10 @@ OBJS = $(SRCS:.c=.o) \
+ target = startup
+ HURDLIBS = shouldbeinlibc
+
++# startup does not use libports. Disable the default payload to port
++# conversion.
++MIGSFLAGS="-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
++
+ include ../Makeconf
+
+ mung_msg_S.h: msg_S.h
+--
+2.1.3
+