summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-10 08:52:55 +0100
committerSam James <sam@gentoo.org>2022-09-10 09:40:16 +0100
commit5636342e6ee0aa28085e55fe5ff1111c220c7ea8 (patch)
treea6dce17891fb94a293492a4c3af584ea46419a22 /media-libs/libmp3splt
parentmedia-libs/audiofile: add media-libs/flac subslot dep (diff)
downloadgentoo-5636342e6ee0aa28085e55fe5ff1111c220c7ea8.tar.gz
gentoo-5636342e6ee0aa28085e55fe5ff1111c220c7ea8.tar.bz2
gentoo-5636342e6ee0aa28085e55fe5ff1111c220c7ea8.zip
media-libs/libmp3splt: EAPI 8, fix warnings, add media-libs/flac subslot dep
media-libs/flac-1.4.0 breaks ABI. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libmp3splt')
-rw-r--r--media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch22
-rw-r--r--media-libs/libmp3splt/libmp3splt-0.9.2-r6.ebuild (renamed from media-libs/libmp3splt/libmp3splt-0.9.2-r5.ebuild)4
2 files changed, 24 insertions, 2 deletions
diff --git a/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch b/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch
index 16420e934f57..c5f1fe1f10aa 100644
--- a/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch
+++ b/media-libs/libmp3splt/files/libmp3splt-0.9.2-fix-implicit-decl.patch
@@ -302,3 +302,25 @@
#include <string.h>
#include "splt.h"
+--- a/plugins/mp3.c
++++ b/plugins/mp3.c
+@@ -28,6 +28,8 @@
+ The Plug-in that handles mp3 files
+ */
+
++#include <stdlib.h>
++
+ #include "splt.h"
+ #include "cddb_cue_common.h"
+
+--- a/plugins/mp3_utils.c
++++ b/plugins/mp3_utils.c
+@@ -63,6 +63,8 @@
+ * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *********************************************************/
+
++#include <stdlib.h>
++
+ #include "mp3_utils.h"
+
+ //! Initializes a stream frame
diff --git a/media-libs/libmp3splt/libmp3splt-0.9.2-r5.ebuild b/media-libs/libmp3splt/libmp3splt-0.9.2-r6.ebuild
index a7a142a80879..bb6d0c64135c 100644
--- a/media-libs/libmp3splt/libmp3splt-0.9.2-r5.ebuild
+++ b/media-libs/libmp3splt/libmp3splt-0.9.2-r6.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools flag-o-matic
@@ -19,7 +19,7 @@ RDEPEND="
media-libs/libid3tag:=
media-libs/libogg
media-libs/libvorbis
- flac? ( media-libs/flac )
+ flac? ( media-libs/flac:= )
pcre? ( dev-libs/libpcre )
"
DEPEND="${RDEPEND}"