From 327a205037b9cb5779ad66d2dfb3cc7b89970eb3 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Sun, 23 Feb 2025 17:17:32 +0400 Subject: dev-db/recutils: Fix incompatible pointer types and remove .la files Closes: https://bugs.gentoo.org/941097 Closes: https://bugs.gentoo.org/941542 Signed-off-by: NHOrus Closes: https://github.com/gentoo/gentoo/pull/40715 Signed-off-by: Sam James --- dev-db/recutils/files/recutils-1.9-add-const.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-db/recutils/files/recutils-1.9-add-const.patch (limited to 'dev-db/recutils/files/recutils-1.9-add-const.patch') diff --git a/dev-db/recutils/files/recutils-1.9-add-const.patch b/dev-db/recutils/files/recutils-1.9-add-const.patch new file mode 100644 index 000000000000..b8c14845d11e --- /dev/null +++ b/dev-db/recutils/files/recutils-1.9-add-const.patch @@ -0,0 +1,14 @@ +Cast bash-generated argv from char ** to const char ** so it would be of the same +type argv was declared +https://bugs.gentoo.org/941542 +--- a/bash/testrec.c ++++ b/bash/testrec.c +@@ -60,7 +60,7 @@ + + /* Get arguments and verify them. */ + +- argv = make_builtin_argv (list, &argc); ++ argv = (const char**)make_builtin_argv (list, &argc); + if ((argc != 3) + || ((strcmp (argv[0], "[%") == 0) && ((strlen (argv[2]) == 2) && ((argv[2][0] != '%') || (argv[2][1] != ']'))))) + { -- cgit v1.2.3