commit:     16bbb4ba9ade8f130bfb7039ba7512a79f7f0a2e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 21 11:44:10 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 11:51:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bbb4ba

dev-libs/xerces-c: add fallback SRC_URI

Per https://dlcdn.apache.org/
> The directories linked below contain current software releases from the
> Apache Software Foundation projects. Older non-recommended releases can
> be found on our archive site.

Closes: https://bugs.gentoo.org/946318
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/xerces-c/xerces-c-3.2.5.ebuild | 5 ++++-
 dev-libs/xerces-c/xerces-c-9999.ebuild  | 7 +++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-libs/xerces-c/xerces-c-3.2.5.ebuild 
b/dev-libs/xerces-c/xerces-c-3.2.5.ebuild
index 4109425814e2..2deed2ea7d2b 100644
--- a/dev-libs/xerces-c/xerces-c-3.2.5.ebuild
+++ b/dev-libs/xerces-c/xerces-c-3.2.5.ebuild
@@ -12,7 +12,10 @@ if [[ ${PV} == *9999 ]] ; then
        ESVN_REPO_URI="https://svn.apache.org/repos/asf/xerces/c/trunk";
        inherit subversion
 else
-       SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.xz"
+       SRC_URI="
+               mirror://apache/xerces/c/3/sources/${P}.tar.xz
+               https://archive.apache.org/dist/xerces/c/3/sources/${P}.tar.xz
+       "
        KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 

diff --git a/dev-libs/xerces-c/xerces-c-9999.ebuild 
b/dev-libs/xerces-c/xerces-c-9999.ebuild
index 3e727e79df6b..2d2eb3cb1e99 100644
--- a/dev-libs/xerces-c/xerces-c-9999.ebuild
+++ b/dev-libs/xerces-c/xerces-c-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,10 @@ if [[ ${PV} == *9999 ]] ; then
        ESVN_REPO_URI="https://svn.apache.org/repos/asf/xerces/c/trunk";
        inherit subversion
 else
-       SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.xz"
+       SRC_URI="
+               mirror://apache/xerces/c/3/sources/${P}.tar.xz
+               https://archive.apache.org/dist/xerces/c/3/sources/${P}.tar.xz
+       "
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 

Reply via email to