summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-23 15:12:53 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-23 15:13:40 +0100
commitf83775b6765d1850a193db5222b57cd244b5a4c3 (patch)
treebc6efc8396e14f6a50d00c074d30365ba3a841f3 /media-plugins/audacious-plugins
parentnet-mail/mailbase: install pam files conditionally (diff)
downloadgentoo-f83775b6765d1850a193db5222b57cd244b5a4c3.tar.gz
gentoo-f83775b6765d1850a193db5222b57cd244b5a4c3.tar.bz2
gentoo-f83775b6765d1850a193db5222b57cd244b5a4c3.zip
media-plugins/audacious-plugins: Move from freedb.org to gnudb.gnudb.org
Upstream commit 33edaf1a021bc466aea7c6b0bfdd624b951a15ab See also: https://redmine.audacious-media-player.org/issues/994 Bug: https://bugs.gentoo.org/766315 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-plugins/audacious-plugins')
-rw-r--r--media-plugins/audacious-plugins/audacious-plugins-3.10.1-r4.ebuild (renamed from media-plugins/audacious-plugins/audacious-plugins-3.10.1-r3.ebuild)4
-rw-r--r--media-plugins/audacious-plugins/files/audacious-plugins-3.10.1-cddb-use-gnudb.org.patch30
2 files changed, 33 insertions, 1 deletions
diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.10.1-r3.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.10.1-r4.ebuild
index 90d1e42911e3..5c6bbc225c8a 100644
--- a/media-plugins/audacious-plugins/audacious-plugins-3.10.1-r3.ebuild
+++ b/media-plugins/audacious-plugins/audacious-plugins-3.10.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -94,6 +94,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${P}-cddb-use-gnudb.org.patch" )
+
S="${WORKDIR}/${MY_P}"
src_prepare() {
diff --git a/media-plugins/audacious-plugins/files/audacious-plugins-3.10.1-cddb-use-gnudb.org.patch b/media-plugins/audacious-plugins/files/audacious-plugins-3.10.1-cddb-use-gnudb.org.patch
new file mode 100644
index 000000000000..3c1ab7372f5e
--- /dev/null
+++ b/media-plugins/audacious-plugins/files/audacious-plugins-3.10.1-cddb-use-gnudb.org.patch
@@ -0,0 +1,30 @@
+From 33edaf1a021bc466aea7c6b0bfdd624b951a15ab Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bj=C3=B6rn=20Ketelaars?= <bjorn.ketelaars@hydroxide.nl>
+Date: Tue, 30 Jun 2020 07:10:28 +0200
+Subject: [PATCH] Move from freedb.org to gnudb.gnudb.org
+
+The freedb.org database of compact track listings has shut down. Any
+program functionality that tries to fetch from or submit data to
+freedb.org is broken now.
+
+An alternative service is available at gnudb.gnudb.org, see
+https://www.gnudb.org/
+
+Fixes https://redmine.audacious-media-player.org/issues/994
+---
+ src/cdaudio/cdaudio-ng.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cdaudio/cdaudio-ng.cc b/src/cdaudio/cdaudio-ng.cc
+index 6fd02de14..1b9c7bf1e 100644
+--- a/src/cdaudio/cdaudio-ng.cc
++++ b/src/cdaudio/cdaudio-ng.cc
+@@ -126,7 +126,7 @@ const char * const CDAudio::defaults[] = {
+ "use_cdtext", "TRUE",
+ "use_cddb", "TRUE",
+ "cddbhttp", "FALSE",
+- "cddbserver", "freedb.org",
++ "cddbserver", "gnudb.gnudb.org",
+ "cddbport", "8880",
+ nullptr};
+