summaryrefslogtreecommitdiff
path: root/debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-02 00:29:37 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-02 00:29:37 +0100
commitdf1a438eae4acd80c9a9ac8cfcf596ff21adef1c (patch)
treea9bf557001bfaddf46da6fdc49293b0d02715718 /debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch
parent370e931feb0f74481b30236a11e8de95f2cba8d6 (diff)
add patch series
Diffstat (limited to 'debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch')
-rw-r--r--debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch b/debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch
new file mode 100644
index 00000000..201f90db
--- /dev/null
+++ b/debian/patches/0022-trans-symlink-disable-default-payload-to-port-mappin.patch
@@ -0,0 +1,34 @@
+From 79e0ee0fab3b79b64c4bb1d15d30af67622b9631 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 22/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
+