summaryrefslogtreecommitdiff
path: root/www-client/links/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /www-client/links/files
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'www-client/links/files')
-rw-r--r--www-client/links/files/swap-echo-for-printf.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-client/links/files/swap-echo-for-printf.patch b/www-client/links/files/swap-echo-for-printf.patch
new file mode 100644
index 000000000000..9681a624ed2b
--- /dev/null
+++ b/www-client/links/files/swap-echo-for-printf.patch
@@ -0,0 +1,26 @@
+"echo -n" is not POSIX compliant but printf is.
+See "man 1p echo" section "APPLICATION USAGE" or visit
+https://www.in-ulm.de/%7Emascheck/various/echo+printf/
+
+--- a/intl/synclang.orig 2020-06-03 19:13:38.082539276 -0000
++++ b/intl/synclang 2020-06-03 19:13:59.122352023 -0000
+@@ -6,7 +6,7 @@
+ if [ -n "$languages" ]; then
+ for i in $languages; do
+ if [ "$i" != english ]; then
+- echo -n $i" " 1>&2
++ printf '%s ' "$i" 1>&2
+ awk -f synclang.awk <$i.lng | sed 's/ //g' >_sync.tmp
+ mv $i.lng ../intl-bak/$i.lng.bak
+ mv _sync.tmp $i.lng
+--- a/intl/gen-intl.orig 2020-06-03 19:14:37.258679373 -0000
++++ b/intl/gen-intl 2020-06-03 19:14:47.651920249 -0000
+@@ -10,7 +10,7 @@
+ n=0
+ echo '/* Automatically generated by gen-intl */'
+ for i in $languages; do
+- echo -n $i" " 1>&2
++ printf '%s ' "$i" 1>&2
+ if test `cat $i.lng|wc -l` != `cat english.lng|wc -l`; then
+ echo 1>&2
+ echo 1>&2