diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
commit | 81b8f20732954c4508baf2f77472b5435e3f851f (patch) | |
tree | 4180177cb7ba85eab50159ce96218c2419fb24a6 /media-libs/libsdl2/files | |
parent | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff) |
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'media-libs/libsdl2/files')
-rw-r--r-- | media-libs/libsdl2/files/libsdl2-2.24.0-clang-15-configure.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/libsdl2/files/libsdl2-2.24.0-clang-15-configure.patch b/media-libs/libsdl2/files/libsdl2-2.24.0-clang-15-configure.patch new file mode 100644 index 000000000000..f5dc8ea6b50b --- /dev/null +++ b/media-libs/libsdl2/files/libsdl2-2.24.0-clang-15-configure.patch @@ -0,0 +1,24 @@ +https://github.com/libsdl-org/SDL/pull/6217 + +From 04b9178a6746cfe9e4f8708befd3e00f95912a18 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Mon, 12 Sep 2022 18:02:21 +0100 +Subject: [PATCH] configure.ac: fix configure tests broken with Clang 15 + (implicit function declarations) + +Clang 15 makes implicit function declarations fatal by default which +leads to some configure tests silently failing/returning +the wrong result. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/configure.ac ++++ b/configure.ac +@@ -2728,6 +2728,7 @@ CheckInputKD() + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include <linux/kd.h> + #include <linux/keyboard.h> ++ #include <sys/ioctl.h> + ]], [[ + struct kbentry kbe; + kbe.kb_table = KG_CTRL; + |