commit:     6b9cdfbb7ca36a1295db5e18ce5a05d76499645a
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 21:29:17 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 21:42:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9cdfbb

sys-devel/binutils: 2.37 patchset bump

Needs pseudo-version since sources of generated files were changed

Bug: https://bugs.gentoo.org/808787
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-devel/binutils/Manifest                                      | 2 ++
 .../binutils/{binutils-9999.ebuild => binutils-2.37_p1.ebuild}   | 9 ++++++---
 sys-devel/binutils/binutils-9999.ebuild                          | 7 +++++--
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index 08857d4ea06..d74768cfe3c 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -10,3 +10,5 @@ DIST binutils-2.36.1-patches-5.tar.xz 44388 BLAKE2B 
1dadb012fe35ec5fb0c5a15d348a
 DIST binutils-2.36.1.tar.xz 22772248 BLAKE2B 
03fbfbedd6dba2beaa836b1ed254eddd7a54a163d3061fd93edd2b9591cae24ba049b26658c524b5ccecc2f22d431dfa168218d2531aa356945c994fbbe896fa
 SHA512 
cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9
 DIST binutils-2.37-patches-2.tar.xz 79304 BLAKE2B 
bdcbe29efba3582f2d1be9057a39aedb655cbc225abe8ea656c1bcf090a53930c74197505c8de2dcfd9a105f1b1cc8fa84a0d532547221d2df34a77b06e7fa15
 SHA512 
5cea876cfbdcd1409f5ef8ee138a8c29ad5b3d38b5d72ce312f2eb94fb8b2165e9a10018c46bdc36bc59ade2e2764e5da4ac653d15690bfc0bc9784202cc0164
 DIST binutils-2.37.tar.xz 22916924 BLAKE2B 
f5a374fdf0300f7734d1e462333296b16c9d5ed6eba167e1742a4da7082f4388c929e286bf76c3933b3e434937380340732a31790723654b491ea0c8ab5b9ba5
 SHA512 
5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7
+DIST binutils-2.37_p1-patches-0.tar.xz 1392 BLAKE2B 
128930a381022fea5d1fcb0695953e8dada2513b088b8540fe08d4e0da93ec18b6bf9c78acad6ec5a8982ae2c115d143462ef0bb7bfd63cfeb06c10ad472c2f8
 SHA512 
44666821f96349e96685ffcfd53a80a94659e38fc63eeeb980d0eed13aab03ae3e2d5059b4932cd9018f2f7698cdb5e15b443d60c01b2bd1385eeb0c698e0e24
+DIST binutils-2.37_p1.tar.xz 22992196 BLAKE2B 
a8aa0f386d03a5b1466166ac7c40989c228351ccf0949a9b462b4d4615d70ab7e1a45351299140a42baf39c317b8007733c253eb547ee1dfadb612addde11621
 SHA512 
46c297ec2a7a5b81d1c6e3f16486a6dc2860a07520fe2dd8871d1eb5160065bbe2cc6b0415d5352bf12284133e5817a4e429e6077182d615e969bd1a8f52ed28

diff --git a/sys-devel/binutils/binutils-9999.ebuild 
b/sys-devel/binutils/binutils-2.37_p1.ebuild
similarity index 98%
copy from sys-devel/binutils/binutils-9999.ebuild
copy to sys-devel/binutils/binutils-2.37_p1.ebuild
index d6c4c64f815..f25257cb214 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-2.37_p1.ebuild
@@ -19,7 +19,7 @@ REQUIRED_USE="default-gold? ( gold )"
 # PATCH_DEV          - Use download URI 
https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
 #                      for the patchsets
 
-PATCH_VER=1
+PATCH_VER=0
 PATCH_DEV=dilfridge
 
 if [[ ${PV} == 9999* ]]; then
@@ -27,8 +27,8 @@ if [[ ${PV} == 9999* ]]; then
        SLOT=${PV}
 else
        PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
-       PATCH_DEV=${PATCH_DEV:-slyfox}
-       SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+       PATCH_DEV=${PATCH_DEV:-dilfridge}
+       SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz 
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PV}.tar.xz";
        [[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
                
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz";
        SLOT=$(ver_cut 1-2)
@@ -86,6 +86,9 @@ src_unpack() {
 
                cd "${WORKDIR}" || die
                unpack 
binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz
+
+               # _p patch versions are Gentoo specific tarballs ...
+               S=${WORKDIR}/${P%_p?}
        fi
 
        cd "${WORKDIR}" || die

diff --git a/sys-devel/binutils/binutils-9999.ebuild 
b/sys-devel/binutils/binutils-9999.ebuild
index d6c4c64f815..37d8a9fa13f 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -27,8 +27,8 @@ if [[ ${PV} == 9999* ]]; then
        SLOT=${PV}
 else
        PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
-       PATCH_DEV=${PATCH_DEV:-slyfox}
-       SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+       PATCH_DEV=${PATCH_DEV:-dilfridge}
+       SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz 
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PV}.tar.xz";
        [[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
                
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz";
        SLOT=$(ver_cut 1-2)
@@ -86,6 +86,9 @@ src_unpack() {
 
                cd "${WORKDIR}" || die
                unpack 
binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz
+
+               # _p patch versions are Gentoo specific tarballs ...
+               S=${WORKDIR}/${P%_p?}
        fi
 
        cd "${WORKDIR}" || die

Reply via email to