[packages/xmms-input-flac] add missing includes

atler atler at pld-linux.org
Sun Feb 16 17:44:27 CET 2025


commit e6a8049c47aaedc8315025e0b1f497164a7e2b6a
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Feb 16 17:15:26 2025 +0100

    add missing includes

 includes.patch       | 20 ++++++++++++++++++++
 xmms-input-flac.spec |  2 ++
 2 files changed, 22 insertions(+)
---
diff --git a/xmms-input-flac.spec b/xmms-input-flac.spec
index 126b66d..ca76af5 100644
--- a/xmms-input-flac.spec
+++ b/xmms-input-flac.spec
@@ -16,6 +16,7 @@ Group:		Libraries
 Source0:	https://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
 # Source0-md5:	835c44ca77c4674b9cdc5b24571306ce
 Patch0:		flac-xmms-only.patch
+Patch1:		includes.patch
 URL:		https://xiph.org/flac/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake >= 1:1.11
@@ -43,6 +44,7 @@ Wtyczka dla XMMS umożliwiająca odtwarzanie plików w formacie FLAC.
 %prep
 %setup -q -n flac-%{version}
 %patch -P0 -p1
+%patch -P1 -p1
 
 %{__rm} m4/ogg.m4
 
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..f2dcf32
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,20 @@
+--- flac-1.4.1/src/plugin_xmms/plugin.c.orig	2022-09-01 16:41:44.810332751 +0200
++++ flac-1.4.1/src/plugin_xmms/plugin.c	2025-02-16 17:11:24.204751869 +0100
+@@ -44,6 +44,7 @@
+ 
+ #include "FLAC/all.h"
+ #include "plugin_common/all.h"
++#include "share/compat.h"
+ #include "share/grabbag.h"
+ #include "share/replaygain_synthesis.h"
+ #include "configure.h"
+--- flac-1.4.1/src/plugin_xmms/http.c.orig	2021-07-08 20:09:17.556076396 +0200
++++ flac-1.4.1/src/plugin_xmms/http.c	2025-02-16 17:12:37.375058193 +0100
+@@ -46,6 +46,7 @@
+ #include "FLAC/format.h"
+ #include "configure.h"
+ #include "locale_hack.h"
++#include "share/compat.h"
+ 
+ /* on FreeBSD we get socklen_t from <sys/socket.h> */
+ #if (!defined HAVE_SOCKLEN_T) && !defined(__FreeBSD__)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xmms-input-flac.git/commitdiff/e6a8049c47aaedc8315025e0b1f497164a7e2b6a



More information about the pld-cvs-commit mailing list