summaryrefslogtreecommitdiff
path: root/ftp/downloader/files/patch-main-signal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/downloader/files/patch-main-signal.cc')
-rw-r--r--ftp/downloader/files/patch-main-signal.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/downloader/files/patch-main-signal.cc b/ftp/downloader/files/patch-main-signal.cc
new file mode 100644
index 000000000000..ebb821cf203e
--- /dev/null
+++ b/ftp/downloader/files/patch-main-signal.cc
@@ -0,0 +1,11 @@
+--- main/signal.cc.bak Fri Jul 2 00:41:31 2004
++++ main/signal.cc Fri Sep 16 22:58:09 2005
+@@ -120,7 +120,7 @@
+ pthread_mutexattr_t ma;
+ pthread_mutexattr_init(&ma);
+ #if !defined (__sparc__) && !defined(__mips__)
+- pthread_mutexattr_settype(&ma,MUTEX_TYPE_FAST);
++ pthread_mutexattr_settype(&ma,PTHREAD_MUTEX_NORMAL);
+ #elif defined(__mips__)
+ pthread_mutexattr_settype(&ma,MUTEX_TYPE_NORMAL);
+ #endif