pkgsrc-wip/d4x/patches/patch-aa
Michal Pasternak b6d93111dd Downloader for X is an userfriendly program with nice X interface to
download files from the Internet. It suppotrs both FTP and HTTP protocols,
supports resuming (of course if server side supports it) and makes
downloading files from internet easy. Downloader for X is an analogue for of
such applications for Windows as ReGet, Go!Zilla and GetRight.

Of course this program is not a copy of any of programs above. Downloader
for X was written from scratch in the hope to decrease a pain of downloading
many files from Internet even on really bad modem lines. But if you are
happy owner of T1 connection then D4X is for you too because It can use this
bandwidth completely! And this is not a end of the list of Downloader for
X's features!
2003-12-13 06:12:57 +00:00

16 lines
527 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/12/13 06:12:58 mpasternak Exp $
--- main/signal.cc.orig Mon Apr 21 17:40:27 2003
+++ main/signal.cc Sat Dec 13 06:53:14 2003
@@ -119,7 +119,11 @@
pthread_mutexattr_t ma;
pthread_mutexattr_init(&ma);
#if !defined (__sparc__) && !defined(__mips__)
+#ifdef _POSIX_THREAD_IS_GNU_PTH
+ pthread_mutexattr_settype(&ma,PTHREAD_MUTEX_NORMAL);
+#else
pthread_mutexattr_settype(&ma,MUTEX_TYPE_FAST);
+#endif
#elif defined(__mips__)
pthread_mutexattr_settype(&ma,MUTEX_TYPE_NORMAL);
#endif