mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
freerdp: use gnu17 to allow building with gcc-15
It was fixed in freerdp3 with https://github.com/FreeRDP/FreeRDP/pull/10553 but it doesn't apply easily in freerdp2, use gnu17 to avoid: http://errors.yoctoproject.org/Errors/Details/852862/ TOPDIR/tmp/work/core2-64-oe-linux/freerdp/2.11.7/build/channels/client/tables.c:124:25: error: initialization of 'UINT (*)(void)' {aka 'unsigned int (*)(void)'} from incompatible pointer type 'UINT (*)(void *)' {aka 'unsigned int (*)(void *)'} [-Wincompatible-pointer-types] 124 | { "libusb", "", libusb_freerdp_urbdrc_client_subsystem_entry }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -95,3 +95,7 @@ python populate_packages:prepend () {
|
||||
}
|
||||
|
||||
CVE_STATUS[CVE-2024-32662] = "fixed-version: 2.x is not affected, bug was introduced in 3.0.0"
|
||||
|
||||
# avoid http://errors.yoctoproject.org/Errors/Details/852862/
|
||||
# fixed in freerdp3 with https://github.com/FreeRDP/FreeRDP/pull/10553
|
||||
CFLAGS += "-std=gnu17"
|
||||
|
||||
Reference in New Issue
Block a user