summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2/ac_check_define.patch14
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb1
2 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2/ac_check_define.patch b/meta/recipes-graphics/libsdl2/libsdl2/ac_check_define.patch
new file mode 100644
index 00000000000..409e24c76e3
--- /dev/null
+++ b/meta/recipes-graphics/libsdl2/libsdl2/ac_check_define.patch
@@ -0,0 +1,14 @@
+
+diff -r e0220c4bc306 -r 2c13b7ca1997 acinclude/ac_check_define.m4
+--- a/acinclude/ac_check_define.m4 Mon Sep 07 20:10:50 2020 -0700
++++ b/acinclude/ac_check_define.m4 Wed Sep 16 08:00:20 2020 +0300
+@@ -1,4 +1,4 @@
+-AC_DEFUN([AC_CHECK_DEFINE],[dnl
++AC_DEFUN([AC_CHECK_DEFINE],[AC_REQUIRE([AC_PROG_CPP])dnl
+ AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1,
+ AC_EGREP_CPP([YES_IS_DEFINED], [
+ #include <$2>
+
+
+
+
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
index 0b75eb0c1d4..f14518c116f 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
file://more-gen-depends.patch \
file://directfb-spurious-curly-brace-missing-e.patch \
file://directfb-renderfillrect-fix.patch \
+ file://ac_check_define.patch \
"
S = "${WORKDIR}/SDL2-${PV}"