summaryrefslogtreecommitdiff
path: root/debian/patches/0023-trans-symlink-disable-default-payload-to-port-mappin.patch
blob: 6de8d1e715efb1f28cfc462fee7f408a05622e14 (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
33
34
From 15874179c947971e3e534811180cdd36118c74ac Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Thu, 28 Nov 2013 21:00:48 +0100
Subject: [PATCH hurd 23/29] trans/symlink: disable default payload to port
 mapping

`fsysServer' is only used by the symlink translator which does not use
libports.  Therefor, it is not necessary to use the default payload to
port translation function.

* trans/Makefile (fsys-MIGSFLAGS): Disable the default payload to port
translation function.
---
 trans/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/trans/Makefile b/trans/Makefile
index b6edb97..ce1eae7 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -47,6 +47,10 @@ ifsock-MIGSFLAGS=\
 # device_replyServer is used by the streamio translator.
 device_reply-MIGSFLAGS="-DMACH_PAYLOAD_TO_PORT=ports_payload_get_name"
 
+# fsysServer is only used by the symlink translator which does not use
+# libports.  Disable the default payload to port conversion.
+fsys-MIGSFLAGS = "-DHURD_DEFAULT_PAYLOAD_TO_PORT=1"
+
 include ../Makeconf
 
 vpath elfcore.c $(top_srcdir)/exec
-- 
2.1.3