diff options
author | 2024-06-01 04:37:21 +0100 | |
---|---|---|
committer | 2024-06-01 04:37:21 +0100 | |
commit | 8017d7ef4a0ecffb4d179f37d14a8358251567ec (patch) | |
tree | 6f5cbd5c5e96d6b7a5181404d6e1b2419bacc1a8 /media-sound/gnomad | |
parent | net-analyzer/net-snmp: fix modern C issue (diff) | |
download | gentoo-8017d7ef4a0ecffb4d179f37d14a8358251567ec.tar.gz gentoo-8017d7ef4a0ecffb4d179f37d14a8358251567ec.tar.bz2 gentoo-8017d7ef4a0ecffb4d179f37d14a8358251567ec.zip |
media-sound/gnomad: EAPI 8, fix modern C issues
Closes: https://bugs.gentoo.org/875239
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/gnomad')
-rw-r--r-- | media-sound/gnomad/files/gnomad-2.9.6-c99.patch | 28 | ||||
-rw-r--r-- | media-sound/gnomad/gnomad-2.9.6-r2.ebuild (renamed from media-sound/gnomad/gnomad-2.9.6-r1.ebuild) | 14 |
2 files changed, 38 insertions, 4 deletions
diff --git a/media-sound/gnomad/files/gnomad-2.9.6-c99.patch b/media-sound/gnomad/files/gnomad-2.9.6-c99.patch new file mode 100644 index 000000000000..a8fed73b2527 --- /dev/null +++ b/media-sound/gnomad/files/gnomad-2.9.6-c99.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/875239 +https://bugs.debian.org/1066610 +https://salsa.debian.org/debian/gnomad2/-/blob/debian/2.9.6-9/debian/patches/missing-prototypes.patch + +Author: Andreas Beckmann <anbe@debian.org> +Description: fix building with -Werror=implicit-function-declaration + +--- a/src/jukebox.c ++++ b/src/jukebox.c +@@ -27,6 +27,7 @@ + #include "filenaming.h" + #include "util.h" + #include "id3read.h" ++#include "tagfile.h" + #include <glib.h> + #include <glib/gprintf.h> + +--- a/src/tagfile.c ++++ b/src/tagfile.c +@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. + #include "util.h" + #include "filesystem.h" + #include <taglib/tag_c.h> ++#include <glib/gprintf.h> + + /***************************************************************************** + * EXPORTED FUNCTIONS + diff --git a/media-sound/gnomad/gnomad-2.9.6-r1.ebuild b/media-sound/gnomad/gnomad-2.9.6-r2.ebuild index 9b740cadb21a..5c7490e2adeb 100644 --- a/media-sound/gnomad/gnomad-2.9.6-r1.ebuild +++ b/media-sound/gnomad/gnomad-2.9.6-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit xdg @@ -24,16 +24,22 @@ RDEPEND=" media-libs/libmtp:= media-libs/libnjb media-libs/taglib - >=x11-libs/gtk+-2.24:2" + >=x11-libs/gtk+-2.24:2 +" DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig nls? ( dev-util/intltool sys-devel/gettext - )" + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.9.6-fno-common.patch + "${FILESDIR}"/${PN}-2.9.6-c99.patch +) -PATCHES=( "${FILESDIR}"/${PN}-2.9.6-fno-common.patch ) DOCS=( AUTHORS README TODO ) # ChangeLog and NEWS are both outdated src_configure() { |