[packages/shine] correct declaration to fix build with gcc15
atler
atler at pld-linux.org
Mon Nov 24 15:01:14 CET 2025
commit e57b2d208656ea1ae92e68fc77e7ea7237ffa9a2
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Nov 24 15:00:41 2025 +0100
correct declaration to fix build with gcc15
shine.spec | 2 ++
types.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/shine.spec b/shine.spec
index 30798f3..6fc6f24 100644
--- a/shine.spec
+++ b/shine.spec
@@ -13,6 +13,7 @@ Group: Libraries
#Source0Download: https://github.com/toots/shine/releases
Source0: https://github.com/savonet/shine/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: ff41cb139c25470f2d9c9acc9f97cc8d
+Patch0: types.patch
URL: https://github.com/savonet/shine/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -52,6 +53,7 @@ Statyczna biblioteka shine.
%prep
%setup -q
+%patch -P0 -p1
%build
%{__libtoolize}
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..de1e8da
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,11 @@
+--- shine-3.1.1/src/lib/l3mdct.h.orig 2017-07-28 20:52:24.000000000 +0200
++++ shine-3.1.1/src/lib/l3mdct.h 2025-11-24 14:58:46.821789734 +0100
+@@ -1,7 +1,7 @@
+ #ifndef shine_MDCT_H
+ #define shine_MDCT_H
+
+-void shine_mdct_initialise();
++void shine_mdct_initialise(shine_global_config *config);
+ void shine_mdct_sub(shine_global_config *config, int stride);
+
+ #endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/shine.git/commitdiff/e57b2d208656ea1ae92e68fc77e7ea7237ffa9a2
More information about the pld-cvs-commit
mailing list