summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmmp3/files/wmmp3-0.12-fix-implicit-function-declaration-clang16.patch')
-rw-r--r--x11-plugins/wmmp3/files/wmmp3-0.12-fix-implicit-function-declaration-clang16.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-plugins/wmmp3/files/wmmp3-0.12-fix-implicit-function-declaration-clang16.patch b/x11-plugins/wmmp3/files/wmmp3-0.12-fix-implicit-function-declaration-clang16.patch
new file mode 100644
index 000000000000..6d20bb35b8d2
--- /dev/null
+++ b/x11-plugins/wmmp3/files/wmmp3-0.12-fix-implicit-function-declaration-clang16.patch
@@ -0,0 +1,40 @@
+Bug: https://bugs.gentoo.org/882321
+--- a/buttons.c
++++ b/buttons.c
+@@ -10,6 +10,7 @@
+ * $Id: mpg123ctl.c,v 1.12 1999/10/08 06:21:41 pcrosby Exp $
+ */
+
++#include "wmgeneral.h"
+ #include "buttons.h"
+
+ struct coord {
+--- a/main.c
++++ b/main.c
+@@ -11,6 +11,7 @@
+ * $Id: main.c,v 1.11 1999/10/08 22:21:32 pcrosby Exp $
+ */
+
++#include <ctype.h>
+ #include "main.h"
+
+ #define B_STOP 0
+--- a/mpg123ctl.c
++++ b/mpg123ctl.c
+@@ -14,6 +14,8 @@
+ * $Id: mpg123ctl.c,v 1.15 1999/10/12 04:41:20 pcrosby Exp $
+ */
+
++#include <time.h>
++#include <ctype.h>
+ #include "mpg123ctl.h"
+
+ #define MAXDIRS 100
+--- a/song_hash.c
++++ b/song_hash.c
+@@ -1,3 +1,5 @@
++#include <stdlib.h>
++#include <string.h>
+ #include "song_hash.h"
+
+ #define HASH_TABLE_SIZE 11