summaryrefslogtreecommitdiff
path: root/debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch
blob: d803cd26d17826d3bd44a16a333fcce7f0732402 (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 c4380d4fa85592212af8a07279ab023a74ea0021 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 21/29] trans: disable default payload to port mapping in
 fsysServer.c

fsysServer.o 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 04fd276..24ab9d8 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -44,6 +44,10 @@ ifsock-MIGSFLAGS=\
     "-DFILE_DESTRUCTOR=trivfs_end_using_protid (trivfs_protid_t)" \
     "-DIFSOCK_IMPORTS=import \"../libtrivfs/mig-decls.h\";"
 
+# 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