summaryrefslogtreecommitdiff
path: root/x11-plugins/astime/files/astime-2.8-fix-implicit-function-decl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/astime/files/astime-2.8-fix-implicit-function-decl.patch')
-rw-r--r--x11-plugins/astime/files/astime-2.8-fix-implicit-function-decl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-plugins/astime/files/astime-2.8-fix-implicit-function-decl.patch b/x11-plugins/astime/files/astime-2.8-fix-implicit-function-decl.patch
new file mode 100644
index 000000000000..2db4db842685
--- /dev/null
+++ b/x11-plugins/astime/files/astime-2.8-fix-implicit-function-decl.patch
@@ -0,0 +1,17 @@
+File uses implicit declaration of a library function. This is not allow with clang16s default settings.
+
+Bug: https://bugs.gentoo.org/882175
+Patch has been sent to upstream via mail
+
+# Pascal Jäger <pascal.jaeger@leimstift.de> (2023-09-18)
+
+--- a/astime_x.c
++++ b/astime_x.c
+@@ -11,6 +11,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <math.h>
+ #include <time.h>
+