app-emulation/xen: add upstream patches
authorTomáš Mózes <hydrapolic@gmail.com>
Wed, 19 Feb 2020 05:16:44 +0000 (06:16 +0100)
committerYixun Lan <dlan@gentoo.org>
Sun, 1 Mar 2020 23:56:57 +0000 (23:56 +0000)
Closes: https://github.com/gentoo/gentoo/pull/14094
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
app-emulation/xen/Manifest
app-emulation/xen/xen-4.13.0-r1.ebuild [moved from app-emulation/xen/xen-4.13.0.ebuild with 96% similarity]

index 893f956ef3d4c14799ff4b9778f23e2fda9cdc7a..f953cbd2dd7cf676b966105b0f7b8377a95a68b0 100644 (file)
@@ -2,4 +2,5 @@ DIST xen-4.11.3-upstream-patches-1.tar.xz 30200 BLAKE2B c63fd2d15efda1ae9aab534c
 DIST xen-4.11.3.tar.gz 25180826 BLAKE2B 56041bcef9adec754ee21032cf849745c6011224463f73b763ea186b37460f8456cb1f10614cb51ee4d2d77f03cba311f025e8999687888d15ac59cc122cd172 SHA512 2204e490e9fc357a05983a9bf4e7345e1d364fe00400ce473988dcb9ca7d4e2b921fe10f095cbbc64248130a92d22c6f0d154dcae250a57a7f915df32e3dc436
 DIST xen-4.12.2-upstream-patches-0.tar.xz 3976 BLAKE2B 4527b5699b13e1b5bed9b82b67c7a3ddfbe39dc69f63b3bb1fda81cb315c6d78a34441219b8d4ae3d95ae2bc52ef0779410b65813212fa07867061fcb2b599ac SHA512 462de147b0474ca8e051219b41b088f25eb4be3962cde399403be5fbcfd4747054f84bf8c732ba8d86c1ba1980c518b67cd8e4f342e4120dd8bf6594d185a92e
 DIST xen-4.12.2.tar.gz 26985135 BLAKE2B 530821011a6dd0ac0a99fb135ff5311eb8e975c3791818093b5e250eed7854d153de6d4340197f9b949c0ad2c3d7b2b7180deb42bc71748ff70ff6fad195269d SHA512 7d9e7921271830c9eadf1bb8eca1aec20d343ad7475b0dc3165ef6d681759e7cb70739f8d9f85622a23aef960988820e822267fb198b12ee3dd657ad6164069f
+DIST xen-4.13.0-upstream-patches-0.tar.xz 11156 BLAKE2B e704a3fc1a9213a79208cf60b9972f5480214c0f050fce15245e225b67a34f90ca46e77a74c286d7aef90718295ec6968c2671b72f1994a4372bc191681d38f8 SHA512 594194021d0786016e8e214d477892c1ea721e1964729a15ab6928c3cb14b986cbc628d1522ccbf9d53fe568f680acb056d2ff2a37e64261d183589accea4983
 DIST xen-4.13.0.tar.gz 39005191 BLAKE2B cd85bfe549e20447afb8ec6b2ab33ea1893f45392c08737730d7898706748ebb96b2e842b2ff3e4af8c5d8a705e6d25a2bfb8acf0d7cc771805d0cc97757a949 SHA512 5b2ded9a2fe3f7ddf40eed1fa9858baead06233a01eb6099cc45b3c78b6c3823acfe7b731910733e87125dfa49d08c53f74c215fb1b320a92b44b87a0a105225
similarity index 96%
rename from app-emulation/xen/xen-4.13.0.ebuild
rename to app-emulation/xen/xen-4.13.0-r1.ebuild
index b11eeac18b1065f8cdf29f59f97bd73b605d3ae5..2c03982f66085712209f2f5f7aef482b717fb976 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ if [[ $PV == *9999 ]]; then
        SRC_URI=""
 else
        KEYWORDS="~amd64 ~arm -x86"
-       UPSTREAM_VER=
+       UPSTREAM_VER=0
        SECURITY_VER=
        GENTOO_VER=
 
@@ -98,7 +98,7 @@ src_prepare() {
        # Gentoo's patchset
        [[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
 
-       eapply "${FILESDIR}"/${PN}-4.6-efi.patch
+       eapply "${FILESDIR}"/${PN}-4.11-efi.patch
 
        # Drop .config
        sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
@@ -120,6 +120,8 @@ src_configure() {
        unset CFLAGS
        unset LDFLAGS
        unset ASFLAGS
+
+       tc-ld-disable-gold # Bug 700374
 }
 
 src_compile() {