net-libs/libsoup: fix tests when LC_ALL is set
authorAlexandre Rostovtsev <tetromino@gentoo.org>
Thu, 17 Sep 2015 01:57:10 +0000 (21:57 -0400)
committerAlexandre Rostovtsev <tetromino@gentoo.org>
Thu, 17 Sep 2015 01:59:01 +0000 (21:59 -0400)
Gentoo-Bug: 560258
Reported-by: Jonathan Lovelace
Package-Manager: portage-2.2.20.1

net-libs/libsoup/libsoup-2.50.0.ebuild

index 443e4b1692efd5680b9abf8ce4ddc82fdddbedbe..a121eaafa5337f81f9a062e28b6610f090cc8cf3 100644 (file)
@@ -54,6 +54,10 @@ src_prepare() {
                        || die "sed failed"
        fi
 
+       # fix sorting when LC_ALL/LC_COLLATE is set, bug #560258
+       # fixed upstream in 2.52
+       sed -e 's/LANG=C sort/LC_ALL=C sort/' -i libsoup/Makefile.{am,in} || die "sed failed"
+
        gnome2_src_prepare
 }