summaryrefslogtreecommitdiff
path: root/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-21 14:59:42 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-21 14:59:42 +0100
commitb0cf42547cf95c236c82b871e94c1e9e66a8de7a (patch)
tree519948f3c58de8a63a6452fbc7c8b34e55fba127 /debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
parente79ac4182e0532bce1b65c964e5dccce42f77f7a (diff)
add patch series
Diffstat (limited to 'debian/patches/0020-init-disable-default-payload-to-port-mapping.patch')
-rw-r--r--debian/patches/0020-init-disable-default-payload-to-port-mapping.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch b/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
new file mode 100644
index 00000000..b2afafb3
--- /dev/null
+++ b/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
@@ -0,0 +1,30 @@
+From d4e54021e65775724737b2c7cd0ad56c10a56835 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 20/30] init: disable default payload to port mapping
+
+init does not use libports. Therefor, it is not necessary to use the
+default payload to port translation function.
+
+* init/Makefile (MIGSFLAGS): Disable the default payload to port
+ translation function.
+---
+ init/Makefile | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/init/Makefile b/init/Makefile
+index 07b8026..ab06495 100644
+--- a/init/Makefile
++++ b/init/Makefile
+@@ -21,4 +21,8 @@ SRCS = init.c
+ OBJS = $(SRCS:.c=.o)
+ target = init
+
++# init does not use libports. Disable the default payload to port
++# conversion.
++MIGSFLAGS="-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
++
+ include ../Makeconf
+--
+2.1.3
+