diff options
| author | NHOrus <jy6x2b32pie9@yahoo.com> | 2025-02-23 17:17:32 +0400 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-02-24 21:28:26 +0000 |
| commit | 327a205037b9cb5779ad66d2dfb3cc7b89970eb3 (patch) | |
| tree | 7e9ae29169966b2b652bc45a2661a54b3ca53900 /dev-db/recutils/files/recutils-1.9-add-const.patch | |
| parent | 198ac1858c7d8f79053867ff772fa55221625f89 (diff) | |
| download | gentoo-327a205037b9cb5779ad66d2dfb3cc7b89970eb3.tar.gz gentoo-327a205037b9cb5779ad66d2dfb3cc7b89970eb3.tar.bz2 gentoo-327a205037b9cb5779ad66d2dfb3cc7b89970eb3.zip | |
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 <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40715
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/recutils/files/recutils-1.9-add-const.patch')
| -rw-r--r-- | dev-db/recutils/files/recutils-1.9-add-const.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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] != ']'))))) + { |
