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 +