pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/31247: Patch for dillo 0.8.5 to handle NetBSD releases without re-entrant resolver functions
>Number: 31247
>Category: pkg
>Synopsis: Patch for dillo 0.8.5 to handle NetBSD releases without
>re-entrant resolver functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 09 07:57:51 +0000 2005
>Originator: David H. Gutteridge
>Release: 2.1RC3
>Organization:
>Environment:
NetBSD arcusiii.nonus-porta.net 2.1_RC3 NetBSD 2.1_RC3 (GENERIC) #0: Thu Sep 1
10:54:48 UTC 2005
riz%faith.netbsd.org@localhost:/home/builds/ab/netbsd-2-1-RC3/i386/200508312123Z-obj/home/builds/ab/netbsd-2-1-RC3/src/sys/arch/i386/compile/GENERIC
i386
>Description:
I've attached a proposed patch to handle NetBSD releases which do not
have thread-safe resolver functions, as Dillo 0.8.5 now uses threaded
DNS lookups by default. I've encountered the odd problem with Dillo
in its unadulterated form in 2.1 as a result. (Not as bad as Firefox,
for example, probably because I can't open multiple tabs at once, but
I still noticed hangs occasionally.)
>How-To-Repeat:
>Fix:
--- src/dns.c.orig 2005-05-14 09:16:28.000000000 +0000
+++ src/dns.c 2005-09-08 00:48:54.000000000 +0000
@@ -38,7 +38,9 @@
/*
* Note: comment the following line for debugging or gprof profiling.
*/
+#if !defined(__NetBSD_Version__) || __NetBSD_Version__ >= 299000900
#define G_DNS_THREADED
+#endif
/*
* Uncomment the following line for libc5 optimization
Home |
Main Index |
Thread Index |
Old Index