diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch')
| -rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch deleted file mode 100644 index a690b4975..000000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | From 19e6a541d2026386c9cfdeca0eebd269fef2536c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 13 Mar 2023 20:29:01 -0700 | ||
| 4 | Subject: [PATCH 03/10] grecorder: Fix build with clang | ||
| 5 | |||
| 6 | Add missing includes for APIs from libc and glib | ||
| 7 | Add prototype declaration for post_message before | ||
| 8 | using it in macros later in the same source file | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | tools/grecorder/grecorder.c | 5 ++++- | ||
| 14 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/tools/grecorder/grecorder.c b/tools/grecorder/grecorder.c | ||
| 17 | index c8eff2f..89aa801 100644 | ||
| 18 | --- a/tools/grecorder/grecorder.c | ||
| 19 | +++ b/tools/grecorder/grecorder.c | ||
| 20 | @@ -23,10 +23,11 @@ | ||
| 21 | #include <semaphore.h> | ||
| 22 | #include <pthread.h> | ||
| 23 | #include <signal.h> | ||
| 24 | +#include <unistd.h> /* sleep */ | ||
| 25 | #include <getopt.h> | ||
| 26 | #define __USE_LARGEFILE64 | ||
| 27 | #include <sys/statvfs.h> | ||
| 28 | - | ||
| 29 | +#include <glib/gprintf.h> /* g_print */ | ||
| 30 | #include "recorder_engine.h" | ||
| 31 | |||
| 32 | #define LOG_ERROR printf | ||
| 33 | @@ -168,6 +169,8 @@ static RecorderMessage latest_message = MESSAGE_NULL; | ||
| 34 | |||
| 35 | static volatile sig_atomic_t quit_flag = 0; | ||
| 36 | |||
| 37 | +static void post_message (RecorderMessage message); | ||
| 38 | + | ||
| 39 | static void signal_handler(int signum) | ||
| 40 | { | ||
| 41 | quit_flag = 1; | ||
| 42 | -- | ||
| 43 | 2.39.2 | ||
| 44 | |||
