summaryrefslogtreecommitdiff
path: root/app-i18n/kcc/files/kcc-1.0-clang16.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-11 13:38:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-11 13:38:21 +0100
commit59970d0b9cd0a564851f255aebb29a9f76e39c19 (patch)
tree4ed6fa53e3016b6085c92a07d51765f4d8bfbe09 /app-i18n/kcc/files/kcc-1.0-clang16.patch
parent81db58116c7a9c27f54243a4d8f364c7e94c6f36 (diff)
gentoo auto-resync : 11:10:2022 - 13:38:21
Diffstat (limited to 'app-i18n/kcc/files/kcc-1.0-clang16.patch')
-rw-r--r--app-i18n/kcc/files/kcc-1.0-clang16.patch19
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;