diff options
Diffstat (limited to 'app-i18n/kcc/files/kcc-1.0-clang16.patch')
-rw-r--r-- | app-i18n/kcc/files/kcc-1.0-clang16.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-i18n/kcc/files/kcc-1.0-clang16.patch b/app-i18n/kcc/files/kcc-1.0-clang16.patch new file mode 100644 index 000000000000..a813a9ceb759 --- /dev/null +++ b/app-i18n/kcc/files/kcc-1.0-clang16.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/871399 +--- a/kcc.c ++++ b/kcc.c +@@ -33,2 +33,3 @@ + #include <sys/stat.h> ++#include <unistd.h> + +@@ -138,4 +139,6 @@ + #ifdef __STDC__ ++int getstr(char *str, register int n, FILE *fp); + void error(char *format, ...); + #else ++int getstr(); + void error(); +@@ -152,3 +155,3 @@ + ---------------------------------------------------------------------*/ +-main(c, v) ++int main(c, v) + register int c; |