diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-08-12 18:15:26 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-08-13 22:32:07 -0700 |
| commit | b2b28d0ebc47250750e6095be8c7b594ac6d4ee0 (patch) | |
| tree | 2539a7055c68efa158f35f3c6f1d9b0a24fbfa0f | |
| parent | bbb2e867dd02bb2f0cf021a7e426facbf12ff992 (diff) | |
| download | meta-openembedded-b2b28d0ebc47250750e6095be8c7b594ac6d4ee0.tar.gz | |
minidlna: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-multimedia/recipes-multimedia/minidlna/minidlna.inc | 1 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/minidlna/minidlna/0001-Mark-setjmp_buffer-extern-declaration.patch | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc index 04648a5d28..433388759f 100644 --- a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc +++ b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc | |||
| @@ -13,6 +13,7 @@ SRC_URI = "git://git.code.sf.net/p/minidlna/git;branch=master;module=git \ | |||
| 13 | file://minidlna.service \ | 13 | file://minidlna.service \ |
| 14 | file://0001-Update-Gettext-version.patch \ | 14 | file://0001-Update-Gettext-version.patch \ |
| 15 | file://0001-configure-Check-for-clock_gettime-seprately-from-__N.patch \ | 15 | file://0001-configure-Check-for-clock_gettime-seprately-from-__N.patch \ |
| 16 | file://0001-Mark-setjmp_buffer-extern-declaration.patch \ | ||
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
diff --git a/meta-multimedia/recipes-multimedia/minidlna/minidlna/0001-Mark-setjmp_buffer-extern-declaration.patch b/meta-multimedia/recipes-multimedia/minidlna/minidlna/0001-Mark-setjmp_buffer-extern-declaration.patch new file mode 100644 index 0000000000..0a1e800c81 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/minidlna/minidlna/0001-Mark-setjmp_buffer-extern-declaration.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 1c6028f5f8bbfd3fd7327a43e1bb762c2c166167 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 12 Aug 2020 18:10:54 -0700 | ||
| 4 | Subject: [PATCH] Mark setjmp_buffer extern declaration | ||
| 5 | |||
| 6 | Fixes build with -fno-common | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | metadata.c | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/metadata.c b/metadata.c | ||
| 15 | index 8a10c77..c114091 100644 | ||
| 16 | --- a/metadata.c | ||
| 17 | +++ b/metadata.c | ||
| 18 | @@ -484,7 +484,7 @@ GetAudioMetadata(const char *path, const char *name) | ||
| 19 | } | ||
| 20 | |||
| 21 | /* For libjpeg error handling */ | ||
| 22 | -jmp_buf setjmp_buffer; | ||
| 23 | +extern jmp_buf setjmp_buffer; | ||
| 24 | static void | ||
| 25 | libjpeg_error_handler(j_common_ptr cinfo) | ||
| 26 | { | ||
| 27 | -- | ||
| 28 | 2.28.0 | ||
| 29 | |||
