summaryrefslogtreecommitdiff
path: root/prt-utils
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2009-12-03 15:18:10 +0100
committerJuergen Daubert <jue@jue.li>2009-12-03 15:18:10 +0100
commit34bc9f94198e73c6d8f96f87035eeb022619e3de (patch)
treeef5171f718c2c81e4a92468a3aa23eed9edac4a1 /prt-utils
parenta4fdf196382d3d9af49ba2c5fdfcba61cefa5ad4 (diff)
downloadopt-34bc9f94198e73c6d8f96f87035eeb022619e3de.tar.gz
opt-34bc9f94198e73c6d8f96f87035eeb022619e3de.tar.xz
prt-utils/prtverify: set locale to C
Diffstat (limited to 'prt-utils')
-rw-r--r--prt-utils/.md5sum1
-rw-r--r--prt-utils/Pkgfile10
-rw-r--r--prt-utils/prtverify-set_locale.patch12
3 files changed, 19 insertions, 4 deletions
diff --git a/prt-utils/.md5sum b/prt-utils/.md5sum
index 99e451542..27f10d00b 100644
--- a/prt-utils/.md5sum
+++ b/prt-utils/.md5sum
@@ -1 +1,2 @@
e1ddf69948a4ddb042f05756843cd3fe prt-utils-0.9.3.tar.gz
+9eaac0bd7f5a2d958d839d96496772bb prtverify-set_locale.patch
diff --git a/prt-utils/Pkgfile b/prt-utils/Pkgfile
index d02656678..a25cf7eb7 100644
--- a/prt-utils/Pkgfile
+++ b/prt-utils/Pkgfile
@@ -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
}
diff --git a/prt-utils/prtverify-set_locale.patch b/prt-utils/prtverify-set_locale.patch
new file mode 100644
index 000000000..8b67e932a
--- /dev/null
+++ b/prt-utils/prtverify-set_locale.patch
@@ -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
+

Generated by cgit