summaryrefslogtreecommitdiff
path: root/debian/patches/libpthread_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libpthread_fix.patch')
-rw-r--r--debian/patches/libpthread_fix.patch26
1 files changed, 13 insertions, 13 deletions
diff --git a/debian/patches/libpthread_fix.patch b/debian/patches/libpthread_fix.patch
index cfd78d3f..56e03850 100644
--- a/debian/patches/libpthread_fix.patch
+++ b/debian/patches/libpthread_fix.patch
@@ -1,20 +1,22 @@
Temporary patch from Thomas Schwinge to fix libpthread bugs.
-diff --git libpthread/sysdeps/mach/pt-thread-dealloc.c b/sysdeps/mach/pt-thread-dealloc.c
-index 55d8c4d..0c4a4fc 100644
---- libpthread/sysdeps/mach/pt-thread-dealloc.c
-+++ libpthread/sysdeps/mach/pt-thread-dealloc.c
-@@ -38,4 +38,6 @@ __pthread_thread_dealloc (struct __pthread *thread)
+---
+ libpthread/sysdeps/mach/hurd/pt-init-specific.c | 29 ++++++++++++++++++++++++
+ libpthread/sysdeps/mach/pt-thread-dealloc.c | 2 +
+ libpthread/sysdeps/mach/pt-thread-halt.c | 19 ++++++++++++++-
+ 3 files changed, 48 insertions(+), 2 deletions(-)
+
+--- a/libpthread/sysdeps/mach/pt-thread-dealloc.c
++++ b/libpthread/sysdeps/mach/pt-thread-dealloc.c
+@@ -38,4 +38,6 @@ __pthread_thread_dealloc (struct __pthre
assert. */
__mach_port_destroy (__mach_task_self (),
thread->wakeupmsg.msgh_remote_port);
+
+ thread->have_kernel_resources = 0;
}
-diff --git libpthread/sysdeps/mach/pt-thread-halt.c b/sysdeps/mach/pt-thread-halt.c
-index 973cde1..a9c3858 100644
---- libpthread/sysdeps/mach/pt-thread-halt.c
-+++ libpthread/sysdeps/mach/pt-thread-halt.c
+--- a/libpthread/sysdeps/mach/pt-thread-halt.c
++++ b/libpthread/sysdeps/mach/pt-thread-halt.c
@@ -32,6 +32,21 @@
void
__pthread_thread_halt (struct __pthread *thread)
@@ -39,10 +41,8 @@ index 973cde1..a9c3858 100644
+ }
+ }
}
-
-
---- /dev/null 2007-12-29 19:47:02.000000000 +0000
-+++ libpthread/sysdeps/mach/hurd/pt-init-specific.c 2009-04-23 22:46:31.000000000 +0000
+--- /dev/null
++++ b/libpthread/sysdeps/mach/hurd/pt-init-specific.c
@@ -0,0 +1,29 @@
+/* __pthread_init_specific. Mach version.
+ Copyright (C) 2002, 2009 Free Software Foundation, Inc.