prt-utils/prtverify: set locale to C

This commit is contained in:
Juergen Daubert 2009-12-03 15:18:10 +01:00
parent a4fdf19638
commit 34bc9f9419
3 changed files with 19 additions and 4 deletions

View File

@ -1 +1,2 @@
e1ddf69948a4ddb042f05756843cd3fe prt-utils-0.9.3.tar.gz
9eaac0bd7f5a2d958d839d96496772bb prtverify-set_locale.patch

View File

@ -6,10 +6,12 @@
name=prt-utils
version=0.9.3
release=1
source=(http://crux.nu/files/tools/prt-utils/$name-$version.tar.gz)
release=2
source=(http://crux.nu/files/tools/prt-utils/$name-$version.tar.gz
prtverify-set_locale.patch)
build() {
cd $name-$version
make DESTDIR=$PKG install
cd $name-$version
patch -p1 -i $SRC/prtverify-set_locale.patch
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,12 @@
diff --git a/prtverify.in b/prtverify.in
index 185cab4..fd9a882 100644
--- a/prtverify.in
+++ b/prtverify.in
@@ -159,6 +159,7 @@ main() {
### Main
+export LC_ALL=C
shopt -s nullglob
trap "cleanup" HUP INT QUIT TERM