Files @ 76f27d7c2928
Branch filter:

Location: ohnobinki_overlay/sys-fs/e2fsprogs/files/e2fsprogs-1.38-tests-locale.patch - annotation

binki
net-irc/unrealircd: appended to the unrealircd-system-cares.patch to fix the prototype of a callback function in res.c
this should fix a segfault in unrealircd when clients connect. I have no idea how unrealircd didn't segfault when statically lunk because I don't think unrealircd changed the API of c-ares except to add a function that tells it config-info
Since the tests analyze the output messages, force the default locale.

http://bugs.gentoo.org/99766

--- tests/test_script.in
+++ tests/test_script.in
@@ -3,6 +3,19 @@
 # Test script for e2fsck
 #
 
+# NLS nuisances.
+for as_var in \
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+  LC_TELEPHONE LC_TIME
+do
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+    eval $as_var=C; export $as_var
+  else
+    unset $as_var
+  fi
+done
+
 if test "$1"x = x ; then
   TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | $EGREP -v "\.failed|\.new"`
 else