commit:     f83775b6765d1850a193db5222b57cd244b5a4c3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 14:12:53 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 14:13:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83775b6

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 <AT> gentoo.org>

 ...3.ebuild => audacious-plugins-3.10.1-r4.ebuild} |  4 ++-
 ...dacious-plugins-3.10.1-cddb-use-gnudb.org.patch | 30 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

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
similarity index 97%
rename from media-plugins/audacious-plugins/audacious-plugins-3.10.1-r3.ebuild
rename to media-plugins/audacious-plugins/audacious-plugins-3.10.1-r4.ebuild
index 90d1e42911e..5c6bbc225c8 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 00000000000..3c1ab7372f5
--- /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.ketela...@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};
+ 

Reply via email to