xen: rebuild against nettle-3.6

This commit is contained in:
Piraty 2020-05-06 19:27:13 +02:00 committed by Piraty
parent fce369d44f
commit af8d07d830

View file

@ -1,7 +1,7 @@
# Template file for 'xen' # Template file for 'xen'
pkgname=xen pkgname=xen
version=4.10.4 version=4.10.4
revision=2 revision=3
# grep -R IPXE_GIT_TAG src/xen-*/tools/firmware/etherboot # grep -R IPXE_GIT_TAG src/xen-*/tools/firmware/etherboot
_git_tag_ipxe=356f6c1b64d7a97746d1816cef8ca22bdd8d0b5d _git_tag_ipxe=356f6c1b64d7a97746d1816cef8ca22bdd8d0b5d
archs="x86_64*" archs="x86_64*"
@ -93,7 +93,6 @@ nostrip_files="
palcode-clipper palcode-clipper
s390-ccw.img s390-ccw.img
s390-netboot.img" s390-netboot.img"
pycompile_module="xen grub"
CFLAGS="-fno-pie -Wno-format-truncation" CFLAGS="-fno-pie -Wno-format-truncation"
@ -122,7 +121,7 @@ post_extract() {
pre_configure() { pre_configure() {
find \( -name "Makefile*" -o -name "*.mk" -o -name "common.make" \) \ find \( -name "Makefile*" -o -name "*.mk" -o -name "common.make" \) \
-exec sed -i "{}" -e "s; *-Werror *; ;g" \; -exec sed -i "{}" -e "s; *-Werror *; ;g" \;
sed -i tools/python/setup.py -e 's;, "-Werror";;g' vsed -i tools/python/setup.py -e 's;, "-Werror";;g'
} }
do_configure() { do_configure() {