diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer/libplacebo/0001-Fix-compiling-demos-without-nuklear.patch')
-rw-r--r-- | meta-oe/recipes-multimedia/mplayer/libplacebo/0001-Fix-compiling-demos-without-nuklear.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/libplacebo/0001-Fix-compiling-demos-without-nuklear.patch b/meta-oe/recipes-multimedia/mplayer/libplacebo/0001-Fix-compiling-demos-without-nuklear.patch deleted file mode 100644 index bd849a75dd..0000000000 --- a/meta-oe/recipes-multimedia/mplayer/libplacebo/0001-Fix-compiling-demos-without-nuklear.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From ad0bbc5099d99bbb0c914b39cb5ab4920fd6eeda Mon Sep 17 00:00:00 2001 | ||
2 | From: Gyorgy Sarvari <skandigraun@gmail.com> | ||
3 | Date: Sun, 16 Feb 2025 14:23:40 +0100 | ||
4 | Subject: [PATCH] Fix compiling demos without nuklear | ||
5 | |||
6 | Demos can't be compiled if nuklear headers are not present, because | ||
7 | the implementation of parse_args function is guarded by HAVE_NUKLEAR macro. | ||
8 | |||
9 | To allow compiling demos without the Nuklear headers, move the implementation | ||
10 | outside of this ifdef. | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/haasn/libplacebo/pull/315] | ||
13 | --- | ||
14 | demos/settings.c | 6 +++--- | ||
15 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/demos/settings.c b/demos/settings.c | ||
18 | index 197e8b7e..73f0e5b9 100644 | ||
19 | --- a/demos/settings.c | ||
20 | +++ b/demos/settings.c | ||
21 | @@ -14,9 +14,6 @@ | ||
22 | #define PL_BASENAME basename | ||
23 | #endif | ||
24 | |||
25 | -#ifdef HAVE_NUKLEAR | ||
26 | -#include "ui.h" | ||
27 | - | ||
28 | bool parse_args(struct plplay_args *args, int argc, char *argv[]) | ||
29 | { | ||
30 | static struct option long_options[] = { | ||
31 | @@ -89,6 +86,9 @@ error: | ||
32 | return false; | ||
33 | } | ||
34 | |||
35 | +#ifdef HAVE_NUKLEAR | ||
36 | +#include "ui.h" | ||
37 | + | ||
38 | static void add_hook(struct plplay *p, const struct pl_hook *hook, const char *path) | ||
39 | { | ||
40 | if (!hook) | ||