diff options
Diffstat (limited to 'dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch')
-rw-r--r-- | dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch b/dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch new file mode 100644 index 000000000000..6d54b253b501 --- /dev/null +++ b/dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch @@ -0,0 +1,11 @@ +Fix build with -Werror=incompatible-pointer-types that's due +to become a default on clang16. + +https://bugs.gentoo.org/871162 +--- a/src/exec.c ++++ b/src/exec.c +@@ -75,3 +75,3 @@ + int exitcode = -1; /* initialize, to avoid warning */ +- const char *argv[BUFSIZ]; ++ char *argv[BUFSIZ]; + pid_t p; |