diff options
Diffstat (limited to 'meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch')
-rw-r--r-- | meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch b/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch index dc6966629c..57ecd48b1f 100644 --- a/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch +++ b/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 126dfefb5fddf411ad0a1316209e9c1b47abfcd2 Mon Sep 17 00:00:00 2001 | 1 | From e4125223631f0d555fc327da6d8705bcc8ee5ba5 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 9 Feb 2022 17:30:16 -0800 | 3 | Date: Wed, 9 Feb 2022 17:30:16 -0800 |
4 | Subject: [PATCH] man: Move local variable declaration to function scope | 4 | Subject: [PATCH] man: Move local variable declaration to function scope |
@@ -10,16 +10,15 @@ code without changing the logic, until its fixed in clang | |||
10 | 10 | ||
11 | Upstream-Status: Inappropriate [Inappropriate: Clang bug] | 11 | Upstream-Status: Inappropriate [Inappropriate: Clang bug] |
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
13 | |||
14 | --- | 13 | --- |
15 | src/man.c | 4 ++-- | 14 | src/man.c | 4 ++-- |
16 | 1 file changed, 2 insertions(+), 2 deletions(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
17 | 16 | ||
18 | diff --git a/src/man.c b/src/man.c | 17 | diff --git a/src/man.c b/src/man.c |
19 | index f16fae8..333df03 100644 | 18 | index 195d35d..6870989 100644 |
20 | --- a/src/man.c | 19 | --- a/src/man.c |
21 | +++ b/src/man.c | 20 | +++ b/src/man.c |
22 | @@ -352,7 +352,7 @@ static void init_html_pager (void) | 21 | @@ -379,7 +379,7 @@ static void init_html_pager (void) |
23 | static error_t parse_opt (int key, char *arg, struct argp_state *state) | 22 | static error_t parse_opt (int key, char *arg, struct argp_state *state) |
24 | { | 23 | { |
25 | static bool apropos, whatis; /* retain values between calls */ | 24 | static bool apropos, whatis; /* retain values between calls */ |
@@ -28,7 +27,7 @@ index f16fae8..333df03 100644 | |||
28 | /* Please keep these keys in the same order as in options above. */ | 27 | /* Please keep these keys in the same order as in options above. */ |
29 | switch (key) { | 28 | switch (key) { |
30 | case 'C': | 29 | case 'C': |
31 | @@ -384,7 +384,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) | 30 | @@ -411,7 +411,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state) |
32 | case OPT_WARNINGS: | 31 | case OPT_WARNINGS: |
33 | #ifdef NROFF_WARNINGS | 32 | #ifdef NROFF_WARNINGS |
34 | { | 33 | { |