diff options
Diffstat (limited to 'math/gh-bc/files')
-rw-r--r-- | math/gh-bc/files/patch-gen_strgen.sh | 10 | ||||
-rw-r--r-- | math/gh-bc/files/patch-scripts_locale__install.sh | 14 |
2 files changed, 17 insertions, 7 deletions
diff --git a/math/gh-bc/files/patch-gen_strgen.sh b/math/gh-bc/files/patch-gen_strgen.sh new file mode 100644 index 000000000000..f74536abb160 --- /dev/null +++ b/math/gh-bc/files/patch-gen_strgen.sh @@ -0,0 +1,10 @@ +--- gen/strgen.sh.orig 2023-02-02 08:17:32 UTC ++++ gen/strgen.sh +@@ -62,7 +62,6 @@ remove_tabs="$7" + label="$5" + define="$6" + remove_tabs="$7" +-check_bool_arg "$remove_tabs" + + tmpinput=$(mktemp -t "${input##*/}_XXXXXX") + diff --git a/math/gh-bc/files/patch-scripts_locale__install.sh b/math/gh-bc/files/patch-scripts_locale__install.sh index 4d452bd0b101..b3587849ec51 100644 --- a/math/gh-bc/files/patch-scripts_locale__install.sh +++ b/math/gh-bc/files/patch-scripts_locale__install.sh @@ -1,14 +1,14 @@ ---- scripts/locale_install.sh.orig 2021-06-28 18:10:45 UTC +--- scripts/locale_install.sh.orig 2023-02-02 08:17:33 UTC +++ scripts/locale_install.sh -@@ -243,6 +243,7 @@ for file in $locales_dir/*.msg; do +@@ -246,6 +246,7 @@ for file in $locales_dir/*.msg; do # Generate the proper location for the cat file. loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec") + echo gencatfile "$loc" "$file" gencatfile "$loc" "$file" - done -@@ -282,8 +283,6 @@ for file in $locales_dir/*.msg; do + printf 'done\n' +@@ -289,8 +290,6 @@ for file in $locales_dir/*.msg; do linkdir=$(dirname "$file") locale=$(basename "$link" .msg) linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec") @@ -17,13 +17,13 @@ # If the target file doesn't exist (because it's for a locale that is # not installed), generate it anyway. It's easier this way. -@@ -293,7 +292,8 @@ for file in $locales_dir/*.msg; do +@@ -300,7 +299,8 @@ for file in $locales_dir/*.msg; do # Finally, symlink to the install of the generated cat file that # corresponds to the correct msg file. - ln -fs "$rel" "$loc" + echo ln "$linksrc" "$loc" + ln "$linksrc" "$loc" - fi - done + printf 'done\n' + fi |