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 05:38:05 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-21 05:38:05 +0100
commitf8b1a9ceb00c1729c6b9aaa74b503d01f0becf57 (patch)
treecd0ce74c3695c6f24979e41472323a7b3083feca /debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
parenteb7ae44e4cf97c0933a6bf29370d35476ef04ed6 (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..dfd17ee3
--- /dev/null
+++ b/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
@@ -0,0 +1,30 @@
+From 9f64f8747e7e9c8fb6a4adb0a020cb625ba2c11b 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/29] 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
+