diff --git a/bash.changes b/bash.changes index 2cc8ec7c..08bc83d3 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 15 13:09:24 UTC 2022 - Dr. Werner Fink + +- Add patch quotes-man2html.patch + * Fix boo#1203091 -- BASH(1) Manual Page: Unprocessed macro aq + ------------------------------------------------------------------- Thu Apr 28 19:00:17 UTC 2022 - Dirk Müller diff --git a/bash.spec b/bash.spec index 44f72cc8..0521da09 100644 --- a/bash.spec +++ b/bash.spec @@ -82,6 +82,8 @@ Patch47: bash-4.3-perl522.patch Patch48: bash-4.3-extra-import-func.patch # PATCH-EXTEND-SUSE Allow root to clean file system if filled up Patch49: bash-4.3-pathtemp.patch +# PATCH-FIX-SUSE +Patch50: quotes-man2html.patch BuildRequires: autoconf BuildRequires: bison BuildRequires: fdupes @@ -267,6 +269,7 @@ set -x %patch48 -b .eif %endif %patch49 -b .pthtmp +%patch50 -b .qd %patch0 -b .0 # This has to be always the same version as included in the bash its self diff --git a/quotes-man2html.patch b/quotes-man2html.patch new file mode 100644 index 00000000..7b46eb11 --- /dev/null +++ b/quotes-man2html.patch @@ -0,0 +1,27 @@ +boo#1203091 + +--- + support/man2html.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +--- support/man2html.c ++++ support/man2html.c 2022-09-12 08:27:06.352648345 +0000 +@@ -476,6 +476,18 @@ expand_char(int nr) + charb[0] = nr / 256; + charb[1] = nr % 256; + charb[2] = '\0'; ++ if (charb[1] == 'q') { ++ switch (charb[0]) { ++ case 'a': ++ strncpy(charb, "′", 7); ++ charb[7] = '\0'; ++ break; ++ case 'd': ++ strncpy(charb, """, 6); ++ charb[6] = '\0'; ++ break; ++ } ++ } + if (charb[0] == '<') { /* Fix up <= */ + charb[4] = charb[1]; + strncpy(charb, "<", 4);