summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
index 214664f621..57bc522393 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
+++ b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
@@ -1,4 +1,4 @@
1From 50c691e83f81b235bb96ef996dd4568ffaae256f Mon Sep 17 00:00:00 2001 1From 0234c546d86174fafe9ab280cf5f44de50b73676 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <crg7475@mailbox.org> 2From: Carlos Rafael Giani <crg7475@mailbox.org>
3Date: Fri, 18 Mar 2022 12:06:23 +0100 3Date: Fri, 18 Mar 2022 12:06:23 +0100
4Subject: [PATCH] Disable libunwind in native OE builds by not looking for 4Subject: [PATCH] Disable libunwind in native OE builds by not looking for
@@ -16,15 +16,16 @@ By not looking for the libunwind header, the rest of the libunwind
16specific bits in the CMake build script are disabled. 16specific bits in the CMake build script are disabled.
17 17
18Upstream-Status: Inappropriate [OE specific] 18Upstream-Status: Inappropriate [OE specific]
19
19--- 20---
20 CMakeLists.txt | 2 +- 21 CMakeLists.txt | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-) 22 1 file changed, 1 insertion(+), 1 deletion(-)
22 23
23diff --git a/CMakeLists.txt b/CMakeLists.txt 24diff --git a/CMakeLists.txt b/CMakeLists.txt
24index 64f9fbf..12a4d8f 100644 25index 644715a..bbf2e28 100644
25--- a/CMakeLists.txt 26--- a/CMakeLists.txt
26+++ b/CMakeLists.txt 27+++ b/CMakeLists.txt
27@@ -862,7 +862,7 @@ if(SDL_LIBC) 28@@ -869,7 +869,7 @@ if(SDL_LIBC)
28 check_include_file(sys/types.h HAVE_SYS_TYPES_H) 29 check_include_file(sys/types.h HAVE_SYS_TYPES_H)
29 foreach(_HEADER 30 foreach(_HEADER
30 stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h limits.h float.h 31 stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h limits.h float.h
@@ -33,6 +34,3 @@ index 64f9fbf..12a4d8f 100644
33 string(TOUPPER "HAVE_${_HEADER}" _UPPER) 34 string(TOUPPER "HAVE_${_HEADER}" _UPPER)
34 string(REPLACE "." "_" _HAVE_H ${_UPPER}) 35 string(REPLACE "." "_" _HAVE_H ${_UPPER})
35 check_include_file("${_HEADER}" ${_HAVE_H}) 36 check_include_file("${_HEADER}" ${_HAVE_H})
36--
372.32.0
38