Date: Fri, 18 Sep 2009 16:53:16 GMT From: "andrew.w.nosenko@gmail.com" <Andrew.W.Nosenko@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/138942: libxml2: --with-threads (w/o argument) broken upstream Message-ID: <200909181653.n8IGrGox008533@www.freebsd.org> Resent-Message-ID: <200909181700.n8IH04Gg075340@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909181653.n8IGrGox008533>
