diff --git a/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-tests-locale.patch b/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-tests-locale.patch new file mode 100644 --- /dev/null +++ b/sys-devel/libtool/files/2.2.6a/libtool-2.2.6a-tests-locale.patch @@ -0,0 +1,12 @@ +Index: libtool-2.2.6/tests/localization.at +=================================================================== +--- libtool-2.2.6.orig/tests/localization.at ++++ libtool-2.2.6/tests/localization.at +@@ -47,6 +47,7 @@ mv -f stdout expected-stdout + mv -f stderr expected-stderr + AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit 1], + [1], [stdout], [stderr]) ++AT_CHECK([grep LC_ALL stdout stderr && exit 77], [1]) + AT_CHECK([diff expected-stderr stderr]) + LTBASE=`$ECHO "$LIBTOOL" | sed 's,^.*/,,'` + AT_CHECK([grep -v "^$LTBASE: compile" stdout | diff expected-stdout -])