summaryrefslogtreecommitdiff
path: root/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
blob: dfd17ee3e0336a2b25d9872d24c6fa43cec5bfd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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