commit:     7c7891328969297f2f27f6931898211a6b14dd85
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Feb 14 17:35:00 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 01:15:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c789132

sys-apps/man-db: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/24193
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/man-db-2.10.0-fix-build-clang.patch      | 44 ----------------------
 1 file changed, 44 deletions(-)

diff --git a/sys-apps/man-db/files/man-db-2.10.0-fix-build-clang.patch 
b/sys-apps/man-db/files/man-db-2.10.0-fix-build-clang.patch
deleted file mode 100644
index 2896301008ad..000000000000
--- a/sys-apps/man-db/files/man-db-2.10.0-fix-build-clang.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-https://gitlab.com/cjwatson/man-db/-/commit/f4f94402834f20b9da730aeca5daa465be38efdf
-https://gitlab.com/cjwatson/man-db/-/issues/2
-
-From f4f94402834f20b9da730aeca5daa465be38efdf Mon Sep 17 00:00:00 2001
-From: Colin Watson <cjwat...@debian.org>
-Date: Sun, 6 Feb 2022 12:37:01 +0000
-Subject: [PATCH] Revert "Reduce indentation depth using C99"
-
-This reverts commit c4d20840f3487588c4a0da4397b1acb6dc83a1e5.  Even in
-C99, a declaration isn't valid immediately after a label; this didn't
-become valid until C2x, although gcc allows it as an extension.
-
-Fixes https://gitlab.com/cjwatson/man-db/-/issues/2.
-
-* src/man.c (parse_opt): Restore enclosing block for OPT_WARNINGS.
---- a/src/man.c
-+++ b/src/man.c
-@@ -383,15 +383,18 @@ static error_t parse_opt (int key, char *arg, struct 
argp_state *state)
- 
-               case OPT_WARNINGS:
- #ifdef NROFF_WARNINGS
--                      char *s = xstrdup (arg ? arg : default_roff_warnings);
--                      const char *warning;
-+                      {
-+                              char *s = xstrdup
-+                                      (arg ? arg : default_roff_warnings);
-+                              const char *warning;
- 
--                      for (warning = strtok (s, ","); warning;
--                           warning = strtok (NULL, ","))
--                              gl_list_add_last (roff_warnings,
--                                                xstrdup (warning));
-+                              for (warning = strtok (s, ","); warning;
-+                                   warning = strtok (NULL, ","))
-+                                      gl_list_add_last (roff_warnings,
-+                                                        xstrdup (warning));
- 
--                      free (s);
-+                              free (s);
-+                      }
- #endif /* NROFF_WARNINGS */
-                       return 0;
- 
-GitLab

Reply via email to