summaryrefslogtreecommitdiff
path: root/debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch')
-rw-r--r--debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch b/debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch
new file mode 100644
index 00000000..3394b22d
--- /dev/null
+++ b/debian/patches/0021-trans-disable-default-payload-to-port-mapping-in-fsy.patch
@@ -0,0 +1,34 @@
+From e0530ad96810b7d749f4147fc3aae6612dac2087 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
+