commit:     be98c1802bdf0e8a885a6409cb82a796d8298380
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 21:30:03 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 21:33:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be98c180

app-emulation/wine-staging: change upstream-commit source

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-staging/wine-staging-9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild 
b/app-emulation/wine-staging/wine-staging-9999.ebuild
index 6e64e8c69828..b8f5abf23231 100644
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -153,7 +153,10 @@ src_unpack() {
                EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
                git-r3_src_unpack
 
-               EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) 
|| die
+               # call script for now given the upstream-commit file is 
sometime outdated
+               EGIT_COMMIT=$("${BASH}" 
"${EGIT_CHECKOUT_DIR}"/patches/patchinstall.sh --upstream-commit) || die
+               #EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) 
|| die
+
                EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
                EGIT_CHECKOUT_DIR=${S}
                einfo "Fetching Wine commit matching the current patchset by 
default (${EGIT_COMMIT})"

Reply via email to