Dr. Werner Fink 2022-09-15 13:15:46 +00:00 committed by Git OBS Bridge
parent 6f1b908831
commit 22c51e2f73
3 changed files with 36 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 15 13:09:24 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- 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 <dmueller@suse.com>

View File

@ -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

27
quotes-man2html.patch Normal file
View File

@ -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, "&prime;", 7);
+ charb[7] = '\0';
+ break;
+ case 'd':
+ strncpy(charb, "&quot;", 6);
+ charb[6] = '\0';
+ break;
+ }
+ }
if (charb[0] == '<') { /* Fix up <= */
charb[4] = charb[1];
strncpy(charb, "&lt;", 4);