summaryrefslogtreecommitdiff
path: root/debian/patches/introspection0012-fixup_libintrospection.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/introspection0012-fixup_libintrospection.patch')
-rw-r--r--debian/patches/introspection0012-fixup_libintrospection.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/introspection0012-fixup_libintrospection.patch b/debian/patches/introspection0012-fixup_libintrospection.patch
new file mode 100644
index 00000000..2b4a755c
--- /dev/null
+++ b/debian/patches/introspection0012-fixup_libintrospection.patch
@@ -0,0 +1,27 @@
+From c92a80c9dac60ecce35fba41a28807e1dd10891f Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Fri, 25 Sep 2015 21:43:03 +0200
+Subject: [PATCH hurd 12/12] fixup_libintrospection
+
+---
+ libintrospection/trace.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libintrospection/trace.c b/libintrospection/trace.c
+index c053916..6654515 100644
+--- a/libintrospection/trace.c
++++ b/libintrospection/trace.c
+@@ -121,8 +121,8 @@ introspection_trace_message (mach_port_t trace_port,
+ : msgp->msgh_local_port,
+ };
+
+- err = mach_msg (copyp, MACH_SEND_MSG|MACH_MSG_OPTION_NONE, size,
+- 0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
++ err = mach_msg (copyp, MACH_SEND_MSG|MACH_SEND_TIMEOUT, size,
++ 0, MACH_PORT_NULL, 10 /* ms */, MACH_PORT_NULL);
+
+ free (copyp);
+ return err;
+--
+2.1.4
+