summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/revert-remove-threadvars-hack.patch31
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 32 deletions
diff --git a/debian/patches/revert-remove-threadvars-hack.patch b/debian/patches/revert-remove-threadvars-hack.patch
deleted file mode 100644
index 173e6e32..00000000
--- a/debian/patches/revert-remove-threadvars-hack.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-commit 4b1d3d89b85aee49efa2bd79fd238045693e0a2e
-Author: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Thu Jan 9 13:04:18 2014 +0100
-
- Revert "libports: remove the threadvars stack size hack"
-
- This reverts commit 3a3fcc811e6b50b21124a5c5a128652e788a3b67.
-
-diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
-index 64e442f..dcebd09 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
-@@ -106,6 +110,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 9ceabfcf..db39cde1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -41,7 +41,6 @@ exec_filename_fix.patch
mount.patch
proc_set_init_task.patch
newRPC.patch
-#revert-remove-threadvars-hack.patch
xkb-compat.patch
xxx-fix-build.patch