boo#1203091
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=348
This commit is contained in:
parent
9b0894f00a
commit
3e6b4919cf
@ -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>
|
||||
|
||||
|
@ -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
27
quotes-man2html.patch
Normal 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, "′", 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);
|
Loading…
Reference in New Issue
Block a user