summaryrefslogtreecommitdiff
path: root/debian/patches/0020-init-disable-default-payload-to-port-mapping.patch
blob: de202b743f57717383f52e06fdcbfb8fa13aa0e8 (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 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/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