prt-utils/prtverify: set locale to C
This commit is contained in:
parent
a4fdf19638
commit
34bc9f9419
@ -1 +1,2 @@
|
||||
e1ddf69948a4ddb042f05756843cd3fe prt-utils-0.9.3.tar.gz
|
||||
9eaac0bd7f5a2d958d839d96496772bb prtverify-set_locale.patch
|
||||
|
@ -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
|
||||
patch -p1 -i $SRC/prtverify-set_locale.patch
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
12
prt-utils/prtverify-set_locale.patch
Normal file
12
prt-utils/prtverify-set_locale.patch
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user