libshout: fix compilation with GCC14
authorRosen Penev <[email protected]>
Wed, 22 May 2024 01:57:43 +0000 (18:57 -0700)
committerRosen Penev <[email protected]>
Sun, 26 May 2024 21:36:41 +0000 (14:36 -0700)
Missing headers.

Signed-off-by: Rosen Penev <[email protected]>
libs/libshout/Makefile
libs/libshout/patches/010-gcc14.patch [new file with mode: 0644]

index 811e6a1a3bd9d3eaf51ce56b2b759daf1b1d83b5..9cd11e4a0cd3906d0c8652ec1297276b1f8c7275 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libshout
 PKG_VERSION:=2.4.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://downloads.us.xiph.org/releases/libshout/
diff --git a/libs/libshout/patches/010-gcc14.patch b/libs/libshout/patches/010-gcc14.patch
new file mode 100644 (file)
index 0000000..0ff6839
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/shout_private.h
++++ b/src/shout_private.h
+@@ -33,6 +33,8 @@
+ #include <common/timing/timing.h>
+ #include "util.h"
++#include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #ifdef HAVE_STDINT_H