wok-next rev 19668
sudo: add patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 17 16:21:35 2017 +0200 (2017-03-17) |
parents | 9107c8697bd1 |
children | 447522cd9b59 |
files | sudo/receipt sudo/stuff/sr.po.patch |
line diff
1.1 --- a/sudo/receipt Fri Mar 17 15:18:10 2017 +0100 1.2 +++ b/sudo/receipt Fri Mar 17 16:21:35 2017 +0200 1.3 @@ -11,9 +11,15 @@ 1.4 WGET_URL="http://www.gratisoft.us/sudo/dist/$TARBALL" 1.5 CONFIG_FILES="/etc/sudoers" 1.6 1.7 +BUILD_DEPENDS="gettext" 1.8 + 1.9 # Rules to configure and make the package. 1.10 compile_rules() 1.11 { 1.12 + # Fix error and rebuild .mo 1.13 + patch -p1 -i $stuff/sr.po.patch 1.14 + msgfmt $src/plugins/sudoers/po/sr.po -o $src/plugins/sudoers/po/sr.mo 1.15 + 1.16 ./configure --sysconfdir=/etc \ 1.17 --without-pam \ 1.18 --with-editor=/bin/vi \
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/sudo/stuff/sr.po.patch Fri Mar 17 16:21:35 2017 +0200 2.3 @@ -0,0 +1,10 @@ 2.4 +--- a/plugins/sudoers/po/sr.po 2.5 ++++ b/plugins/sudoers/po/sr.po 2.6 +@@ -14,7 +14,6 @@ 2.7 + "MIME-Version: 1.0\n" 2.8 + "Content-Type: text/plain; charset=UTF-8\n" 2.9 + "Content-Transfer-Encoding: 8bit\n" 2.10 +-"Plural-Forms: 3\n" 2.11 + "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 2.12 + 2.13 + #: confstr.sh:2