summaryrefslogtreecommitdiff
path: root/debian/patches/0019-startup-disable-default-payload-to-port-mapping.patch
blob: 4f2817518a05c078ecbe8b31fe570da86876044f (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
31
32
From 7901be046e7b9fd4f0e89fcb215b5f04c10d1540 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 19/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