Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 610606 Details for
Bug 706588
migrate dev-lang/gnat-gpl off GCC_CONFIG_VER use
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0002-dev-lang-gnat-gpl-migrate-2018-r3-from-GCC_CONFIG_VE.patch
0002-dev-lang-gnat-gpl-migrate-2018-r3-from-GCC_CONFIG_VE.patch (text/plain), 2.92 KB, created by
Sergei Trofimovich (RETIRED)
on 2020-02-01 19:23:26 UTC
(
hide
)
Description:
0002-dev-lang-gnat-gpl-migrate-2018-r3-from-GCC_CONFIG_VE.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2020-02-01 19:23:26 UTC
Size:
2.92 KB
patch
obsolete
>From 4e97bd5acdb52781b4799705822812b8e0544ab5 Mon Sep 17 00:00:00 2001 >From: Sergei Trofimovich <slyfox@gentoo.org> >Date: Sat, 1 Feb 2020 19:15:51 +0000 >Subject: [PATCH 2/4] dev-lang/gnat-gpl: migrate 2018-r3 from GCC_CONFIG_VER, > bug #706560 > >GCC_CONFIG_VER should be an internal variable for toolchain.eclass. >Currently it can only be the same as TOOLCHAIN_GCC_PV. > >While at it: >- add RESTRICT="!test? ( test )" >- use GCC_TARBALL_SRC_URI to avoid pulling unused in upstream tarball >- drop use of GCC_A_FAKEIT override in src_unpack() >- pass compiler version to downgrade_arch_flags directly >- drop unused FSFGCC variable > >Bug: https://bugs.gentoo.org/706588 >Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> >--- > dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild | 33 +++++++++-------------- > 1 file changed, 12 insertions(+), 21 deletions(-) > >diff --git a/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild >index 40b80c33c61..65ec72f00ee 100644 >--- a/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild >+++ b/dev-lang/gnat-gpl/gnat-gpl-2018-r3.ebuild >@@ -3,21 +3,18 @@ > > EAPI=6 > >+PATCH_GCC_VER=7.3.0 > PATCH_VER="1.8" > >-TOOLCHAIN_GCC_PV=7.3.0 >-GCC_CONFIG_VER=7.3.1 >- >-inherit toolchain-funcs toolchain >+TOOLCHAIN_GCC_PV=7.3.1 > > REL=7 > MYP=gcc-${REL}-gpl-${PV}-src > BTSTRP_X86=gnat-gpl-2014-x86-linux-bin > BTSTRP_AMD64=gnat-gpl-2014-x86_64-linux-bin > >-DESCRIPTION="GNAT Ada Compiler - GPL version" >-HOMEPAGE="http://libre.adacore.com/" >-SRC_URI+=" >+# we provide own tarball below >+GCC_TARBALL_SRC_URI=" > http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa5 > -> ${P}-src.tar.gz > http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa7 >@@ -35,18 +32,23 @@ SRC_URI+=" > ) > )" > >+inherit toolchain-funcs toolchain >+ >+DESCRIPTION="GNAT Ada Compiler - GPL version" >+HOMEPAGE="http://libre.adacore.com/" >+ > LICENSE+=" GPL-2 GPL-3" > KEYWORDS="amd64 x86" > IUSE="+bootstrap" >+RESTRICT="!test? ( test )" > >-RDEPEND="!sys-devel/gcc:${GCC_CONFIG_VER}" >+RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}" > DEPEND="${RDEPEND} > elibc_glibc? ( >=sys-libs/glibc-2.13 ) > >=sys-devel/binutils-2.20" > > S="${WORKDIR}"/${MYP} > PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )" >-FSFGCC=gcc-${TOOLCHAIN_GCC_PV} > > pkg_setup() { > toolchain_pkg_setup >@@ -80,14 +82,6 @@ src_unpack() { > die "ada compiler not available" > fi > >- GCC_A_FAKEIT=" >- ${P}-src.tar.gz >- ${MYP}.tar.gz >- gcc-interface-${REL}-gpl-${PV}-src.tar.gz" >- if use bootstrap; then >- GCC_A_FAKEIT="${GCC_A_FAKEIT} ${BTSTRP}.tar.gz" >- fi >- > toolchain_src_unpack > if use bootstrap; then > rm ${BTSTRP}/libexec/gcc/${CHOST}/4.7.4/ld || die >@@ -133,10 +127,7 @@ src_prepare() { > > src_configure() { > export PATH=${PWD}/bin:${PATH} >- local trueGCC_BRANCH_VER=${GCC_BRANCH_VER} >- GCC_BRANCH_VER=$(gcc-version) >- downgrade_arch_flags >- GCC_BRANCH_VER=${trueGCC_BRANCH_VER} >+ downgrade_arch_flags "$(gcc-version)" > toolchain_src_configure \ > --enable-languages=ada \ > --disable-libada >-- >2.25.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 706588
:
610604
| 610606 |
610608
|
610610