commit b69391b24224a56f396d4269350506111a2fc175
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Jan 29 07:50:24 2018 +0000
fix build
libcdio2_buildfix.patch | 12 ++++++++++++
mpd.spec | 2 ++
2 files changed, 14 insertions(+)
---
diff --git a/libcdio2_buildfix.patch b/libcdio2_buildfix.patch
new file mode 100644
index 0000000..24e1491
--- /dev/null
+++ b/libcdio2_buildfix.patch
@@ -0,0 +1,12 @@
+--- a/src/archive/plugins/Iso9660ArchivePlugin.cxx
++++ b/src/archive/plugins/Iso9660ArchivePlugin.cxx
+@@ -115,7 +115,7 @@
+ visitor.VisitArchiveEntry(path + 1);
+ }
+ }
+- _cdio_list_free (entlist, true);
++ _cdio_list_free (entlist, true, NULL);
+ }
+
+ static ArchiveFile *
+
diff --git a/mpd.spec b/mpd.spec
index d4930fc..80382bb 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -33,6 +33,7 @@ Source2: mpd.logrotate
Source3: mpd.tmpfiles.d
Patch0: mpd-0.18-mpdconf.patch
Patch1: mpd-0.20-remove_NoNewPrivileges.patch
+Patch2: libcdio2_buildfix.patch
BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel
@@ -91,6 +92,7 @@ browsing and playing your MPD music collection.
%setup -q -n %{name}-%{version}
%patch0 -p0
%patch1 -p1
+%patch2 -p1
# There is no libsystemd-daemon in F25
sed -i -e 's@libsystemd-daemon@libsystemd@g' configure.ac
sed -i -e 's@ -lresid-builder@@g' configure.ac
Show replies by date