Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420335 - dev-libs/libxslt-1.1.26-r3: Non-POSIX check in ./configure
Summary: dev-libs/libxslt-1.1.26-r3: Non-POSIX check in ./configure
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All All
: Normal QA (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: Bug, Inclusion, PATCH, REVIEWED
: 421029 (view as bug list)
Depends on:
Reported: 2012-06-09 00:20 UTC by Richard Yao (RETIRED)
Modified: 2012-09-10 05:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Patch to fix non-POSIX check (libxslt-1.1.26-posix-comparison.patch,899 bytes, patch)
2012-06-09 00:20 UTC, Richard Yao (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yao (RETIRED) gentoo-dev 2012-06-09 00:20:54 UTC
Created attachment 314741 [details, diff]
Patch to fix non-POSIX check

There is a non-POSIX check in the ./configure script of libxslt. I have attached a patch to address this. Let me know if it is okay to commit.
Comment 1 Pacho Ramos gentoo-dev 2012-06-09 10:38:25 UTC
Looks ok to me, could you also report this to upstream to not need to carry this patch forever? ->
Comment 2 Pacho Ramos gentoo-dev 2012-06-14 06:55:42 UTC
*** Bug 421029 has been marked as a duplicate of this bug. ***
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-06-14 12:06:16 UTC
(In reply to comment #1)
> Looks ok to me, could you also report this to upstream to not need to carry
> this patch forever? ->

Sorry about the duplicate report. I was going through my backlog and forgot that I had already filed this. Anyway, I will send this upstream when I get a chance.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-10 05:24:43 UTC
This was already fixed upstream in libxstl-1.1.27-rc1, see

I've applied the patch in our 1.1.26-r4.

>*libxslt-1.1.26-r4 (10 Sep 2012)
>  10 Sep 2012; Alexandre Rostovtsev <>
>  +files/0002-Hardening-ofcodecheckingnodetypesinvariousentrypoint.patch,
>  +libxslt-1.1.26-r4.ebuild, +files/libxslt-1.1.26-generate-id-crash.patch,
>  +files/libxslt-1.1.26-node-type-1.patch,
>  +files/libxslt-1.1.26-node-type-2.patch,
>  +files/libxslt-1.1.26-node-type-3.patch,
>  +files/libxslt-1.1.26-pattern-compile-crash.patch,
>  +files/libxslt-1.1.26-posix-comparison.patch:
>  Ensure special treatment for namespace nodes (CVE-2012-2871) and fix
>  use-after-free errors (CVE-2012-2870); bug #433603, thanks to Paweł Hajdan,
>  Jr. Fix non-posix comparison in configure; bug #420335, thanks to Richard
>  Yao.