diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-24 23:30:16 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-25 23:08:11 -0700 |
| commit | b2c878e3064514a05c79e177b5b8c915e0a38f23 (patch) | |
| tree | 29a58f2f5d3e51fe1888e44e580062e45be55c86 /meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch | |
| parent | 0d8fbade0bb3c725c8fa0ac5657de5220a75b6b6 (diff) | |
| download | meta-openembedded-b2c878e3064514a05c79e177b5b8c915e0a38f23.tar.gz | |
satyr: Fix build on musl/clang
Fixes
| py_base_stacktrace.c:301:5: error: call to undeclared function 'g_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
| g_free(text);
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch')
| -rw-r--r-- | meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch b/meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch new file mode 100644 index 0000000000..fe3b1c12d2 --- /dev/null +++ b/meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 3b84fe4375292d00ebb605a5917e66129fe5f0cb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 24 Aug 2022 23:26:46 -0700 | ||
| 4 | Subject: [PATCH] py_base_stacktrace.c: include glib.h | ||
| 5 | |||
| 6 | This file has references to g_free from glib-2.0 which needs this header | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/abrt/satyr/pull/333] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | python/py_base_stacktrace.c | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/python/py_base_stacktrace.c b/python/py_base_stacktrace.c | ||
| 15 | index b9bd16c..301db84 100644 | ||
| 16 | --- a/python/py_base_stacktrace.c | ||
| 17 | +++ b/python/py_base_stacktrace.c | ||
| 18 | @@ -17,7 +17,7 @@ | ||
| 19 | with this program; if not, write to the Free Software Foundation, Inc., | ||
| 20 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 21 | */ | ||
| 22 | - | ||
| 23 | +#include <glib.h> | ||
| 24 | #include "py_common.h" | ||
| 25 | #include "py_base_thread.h" | ||
| 26 | #include "py_base_stacktrace.h" | ||
| 27 | -- | ||
| 28 | 2.37.2 | ||
| 29 | |||
