diff options
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.patch | 34 |
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 + |