diff options
Diffstat (limited to 'meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb')
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb index 4fc4679f7f..8122b88a68 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | |||
15 | file://libsdl-1.2.15-xdata32.patch \ | 15 | file://libsdl-1.2.15-xdata32.patch \ |
16 | file://pkgconfig.patch \ | 16 | file://pkgconfig.patch \ |
17 | file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \ | 17 | file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \ |
18 | file://0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch \ | ||
18 | file://CVE-2019-7577.patch \ | 19 | file://CVE-2019-7577.patch \ |
19 | file://CVE-2019-7574.patch \ | 20 | file://CVE-2019-7574.patch \ |
20 | file://CVE-2019-7572.patch \ | 21 | file://CVE-2019-7572.patch \ |
@@ -30,9 +31,8 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | |||
30 | 31 | ||
31 | UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar" | 32 | UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar" |
32 | 33 | ||
33 | S = "${WORKDIR}/SDL-${PV}" | 34 | S = "${UNPACKDIR}/SDL-${PV}" |
34 | 35 | ||
35 | SRC_URI[md5sum] = "9d96df8417572a2afb781a7c4c811a85" | ||
36 | SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" | 36 | SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" |
37 | 37 | ||
38 | BINCONFIG = "${bindir}/sdl-config" | 38 | BINCONFIG = "${bindir}/sdl-config" |
@@ -40,7 +40,9 @@ BINCONFIG = "${bindir}/sdl-config" | |||
40 | inherit autotools lib_package binconfig-disabled pkgconfig | 40 | inherit autotools lib_package binconfig-disabled pkgconfig |
41 | 41 | ||
42 | CVE_PRODUCT = "simple_directmedia_layer sdl" | 42 | CVE_PRODUCT = "simple_directmedia_layer sdl" |
43 | 43 | # GCC15/C23 results in following errors | |
44 | # ../SDL-1.2.15/src/video/Xext/XME/xme.c:218:5: error: initialization of 'int (*)(Display *, XExtCodes *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] | ||
45 | CFLAGS += "-std=c17" | ||
44 | EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ | 46 | EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ |
45 | --enable-file --disable-oss --disable-esd --disable-arts \ | 47 | --enable-file --disable-oss --disable-esd --disable-arts \ |
46 | --disable-diskaudio --disable-nas \ | 48 | --disable-diskaudio --disable-nas \ |