diff options
author | Mario Preksavec <mario@slackware.hr> | 2021-10-16 11:12:05 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-18 07:50:31 +0700 |
commit | b58940b86d93b1749eab3c75f33f272b4f95056a (patch) | |
tree | 67566adba6b69d963e262c1a8b95e2390c74d8ef /system/xen/xen.SlackBuild | |
parent | 581d8490d19fe10273ec5df2581635b0af2f19d5 (diff) |
system/xen: Updated for version 4.15.1.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xen/xen.SlackBuild')
-rw-r--r-- | system/xen/xen.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index ad33633ef05a1..79b5560783f2e 100644 --- a/system/xen/xen.SlackBuild +++ b/system/xen/xen.SlackBuild @@ -25,14 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xen -VERSION=${VERSION:-4.15.0} +VERSION=${VERSION:-4.15.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SEABIOS=${SEABIOS:-1.14.0} OVMF=${OVMF:-20200807_a3741780fe} -IPXE=${IPXE:-988d2c13cdf0f0b4140685af35ced70ac5b3283c} +IPXE=${IPXE:-3c040ad387099483102708bb1839110bc788cefb} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -180,10 +180,15 @@ fi patch -p1 <$CWD/patches/0001-BaseTools-fix-ucs-2-lookup-on-python-3.9.patch patch -p1 <$CWD/patches/0002-BaseTools-Work-around-array.array.tostring-removal-i.patch patch -p1 <$CWD/patches/0003-BaseTools-replace-deprecated-fromstring-and-tostring.diff + patch -p1 <$CWD/patches/edk2-ovmf-202105-werror.patch ) # Fix binutils-2.36 build -patch -p1 <$CWD/patches/qemu-xen-no-pie.diff +if [ "$(objcopy --version | awk '{print $NF; exit}' | cut -d- -f1)" = "2.36" ]; then + patch -p1 <$CWD/patches/qemu-xen-no-pie.diff +fi + +patch -p1 <$CWD/patches/tools-ipxe-update-for-fixing-build-with-GCC11.diff CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |