[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Drop debian/patches/libports_revert_stacksize.patch



With the rebuilt libc this is no longer necessary.
---
 debian/patches/libports_revert_stacksize.patch | 37 --------------------------
 debian/patches/series                          |  1 -
 2 files changed, 38 deletions(-)
 delete mode 100644 debian/patches/libports_revert_stacksize.patch

diff --git a/debian/patches/libports_revert_stacksize.patch b/debian/patches/libports_revert_stacksize.patch
deleted file mode 100644
index d458cd1..0000000
--- a/debian/patches/libports_revert_stacksize.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Revert this for now, will have to wait for dropping the use of
-__pthread_stack_default_size from eglibc's libpthread_hurd_cond_wait.diff
-
-commit 3a3fcc811e6b50b21124a5c5a128652e788a3b67
-Author: Richard Braun <rbraun@sceen.net>
-Date:   Sat Dec 28 09:15:03 2013 +0100
-
-    libports: remove the threadvars stack size hack
-    
-    Setting the stack size should now correctly be supported by libpthread.
-    
-    * libports/manage-multithread.c (__pthread_stack_default_size): Remove
-    global variable.
-
-diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
-index dcebd09..64e442f 100644
---- a/libports/manage-multithread.c
-+++ b/libports/manage-multithread.c
-@@ -28,6 +28,10 @@
- 
- #define STACK_SIZE (64 * 1024)
- 
-+/* FIXME Until threadvars are completely replaced with correct TLS, use this
-+   hack to set the stack size.  */
-+size_t __pthread_stack_default_size = STACK_SIZE;
-+
- #define THREAD_PRI 2
- 
- /* XXX To reduce starvation, the priority of new threads is initially
-@@ -110,6 +106,7 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket,
- 
-   auto void * thread_function (void *);
- 
-+  /* FIXME This is currently a no-op.  */
-   pthread_attr_init (&attr);
-   pthread_attr_setstacksize (&attr, STACK_SIZE);
- 
diff --git a/debian/patches/series b/debian/patches/series
index 1bf6037..17bcb32 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -41,5 +41,4 @@ exec_filename_fix.patch
 mount.patch
 proc_set_init_task.patch
 newRPC.patch
-libports_revert_stacksize.patch
 xkb-compat.patch
-- 
1.9.1


Reply to: