summaryrefslogtreecommitdiff
path: root/debian/patches/hurd.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hurd.diff')
-rw-r--r--debian/patches/hurd.diff33
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches/hurd.diff b/debian/patches/hurd.diff
deleted file mode 100644
index 46318d3..0000000
--- a/debian/patches/hurd.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-Author: Pino Toscano <pino@debian.org>
-Description: fix (workaround) build on GNU/Hurd
- Apparently PTHREAD_MUTEX_NORMAL and PTHREAD_MUTEX_DEFAULT cannot be used
- in preprocessor expressions, so temporarly use directly the code which would
- be used on GNU/Hurd.
-Origin: vendor
-Forwarded: not-needed
-Last-Update: 2011-12-30
-
----
- Source/JavaScriptCore/wtf/FastMalloc.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/Source/WTF/wtf/FastMalloc.cpp
-+++ b/Source/WTF/wtf/FastMalloc.cpp
-@@ -1966,6 +1966,9 @@ ALWAYS_INLINE void TCMalloc_PageHeap::su
- void TCMalloc_PageHeap::initializeScavenger()
- {
- // Create a non-recursive mutex.
-+#if defined(__GNU__)
-+ pthread_mutex_init(&m_scavengeMutex, 0);
-+#else
- #if !defined(PTHREAD_MUTEX_NORMAL) || PTHREAD_MUTEX_NORMAL == PTHREAD_MUTEX_DEFAULT
- pthread_mutex_init(&m_scavengeMutex, 0);
- #else
-@@ -1977,6 +1980,7 @@ void TCMalloc_PageHeap::initializeScaven
-
- pthread_mutexattr_destroy(&attr);
- #endif
-+#endif
-
- pthread_cond_init(&m_scavengeCondition, 0);
- m_scavengeThreadActive = true;