diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-28 09:11:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-28 09:11:58 +0100 |
commit | c50fa1b9d54c15707ec744b80db6610da7dd7832 (patch) | |
tree | 32b63837ee84220100640b5b035b0f8f94405b88 /x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch | |
parent | 1bc9c3b9d5a8c51b67f6ea2f57bdd76ff5073097 (diff) |
gentoo auto-resync : 28:09:2022 - 09:11:58
Diffstat (limited to 'x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch')
-rw-r--r-- | x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch b/x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch new file mode 100644 index 000000000000..9e39901f9076 --- /dev/null +++ b/x11-misc/xcalendar/files/xcalendar-4.0-clang16.patch @@ -0,0 +1,40 @@ +https://bugs.gentoo.org/870484 +--- a/lists.c ++++ b/lists.c +@@ -26,4 +26,5 @@ + #include "xcalendar.h" + ++int is_last(LList *list); + + List +@@ -150,5 +151,5 @@ + } + +-is_last(list) ++int is_last(list) + LList *list; + { +--- a/xcalendar.c ++++ b/xcalendar.c +@@ -1168,5 +1168,5 @@ + int m, y; + { +- register d, i; ++ int d, i; + + calInit = y; +@@ -1217,5 +1217,5 @@ + int yr; + { +- register y, d; ++ int y, d; + + /* +--- a/xcalendar.h ++++ b/xcalendar.h +@@ -38,4 +38,5 @@ + + #include <stdio.h> ++#include <stdlib.h> + #include <X11/Xos.h> + #include <X11/Xlib.h> |