misc/138942: libxml2: --with-threads (w/o argument) broken upstream
andrew.w.nosenko at gmail.com
Andrew.W.Nosenko at FreeBSD.org
Fri Sep 18 17:00:05 UTC 2009
>Number: 138942
>Category: misc
>Synopsis: libxml2: --with-threads (w/o argument) broken upstream
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 18 17:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: andrew.w.nosenko at gmail.com
>Release:
>Organization:
>Environment:
>Description:
libxml2-2.7.4 has broken handling of --with-threads (without argument) configure option as it used in textproc/libxml2 Makefile.
As consequence, the WITH_THREADS_BROKEN=yes knob has no desired effect.
>How-To-Repeat:
>Fix:
Solutions:
1. either use in the Makefile
--with-threads=pthread
instead of current plain --with-threads (w/o arguments)
or
2. use attached patch around 'configure'. It essencially repeates the one sent upstream, but upstream's patch created around 'configure.in'
Patch attached with submission follows:
--- configure- 2009-09-18 18:53:06.000000000 +0300
+++ configure 2009-09-18 19:02:59.000000000 +0300
@@ -20415,7 +20415,7 @@ if test "$with_threads" = "no" ; then
echo Disabling multithreaded support
else
echo Enabling multithreaded support
- if test "$with_threads" = "pthread" | test "$with_threads" = "" ; then
+ if test "$with_threads" = "pthread" | test "$with_threads" = "" | test "$with_threads" = "yes"; then
if test "${ac_cv_header_pthread_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
$as_echo_n "checking for pthread.h... " >&6; }
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list