devel/qemu-xilinx: Fix build on GCC 13.2.0

GCC 13.2.0 adds new warnings/errors when mixing ints and enums. This
changes the pminsn helper type to correctly use enums.
This commit is contained in:
Kinsey Moore 2024-02-11 19:04:20 -06:00 committed by Joel Sherrill
parent ee02d32288
commit 0d817c4c1f

View File

@ -24,6 +24,13 @@
%hash sha512 xlnx_cgem_zynqmp_versal.patch \
tGjJn7o8/fQwdC0sgsYmPW6bqDzMkwhKRqBwuuy8sdEKivDj7uGISMj7p8Iwy9fkHiO3Dd3feno+iz5fHYGBkA==
#
# Patch to fix PPC64 build under GCC 13.2.0
#
%patch add qemu --rsb-file=xlnx_ppc64_enum.patch -p1 https://devel.rtems.org/raw-attachment/ticket/4988/0001-target-ppc-Resolve-int-enum-mismatch-on-ppc64.patch
%hash sha512 xlnx_ppc64_enum.patch \
afYfClJ5IO9eV23dOAqxurzAnwS1YmiOEPCts/ftXS/ddXp9Rx2oQYuKeZriawKw7MVlqWNv9eTc5ERoFhRKOg==
#
# The Qemu build instructions. We use 5.x.x Release 1.
#