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@gentoo.org>
This commit is contained in:
Sam James
2025-04-21 12:44:10 +01:00
parent 36b41068fe
commit 16bbb4ba9a
2 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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