summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-13 17:40:43 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-13 22:37:48 -0700
commit857dcd9cc815abed35f833e9a314e6b6529908c2 (patch)
treeb7d12efd42dc5b9c314db228593eeb22fc0f6caf /meta-oe/recipes-multimedia
parentab1f4f709ff7185a0cbe5fce856f951fe58d0643 (diff)
downloadmeta-openembedded-857dcd9cc815abed35f833e9a314e6b6529908c2.tar.gz
cdrkit: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb1
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Add-missing-extern-definition.patch29
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
index 3b10e978e..ebb95cf78 100644
--- a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
+++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
@@ -10,6 +10,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
10 file://0001-genisoimage-Fix-fprintf-format-errors.patch \ 10 file://0001-genisoimage-Fix-fprintf-format-errors.patch \
11 file://0001-define-__THROW-to-avoid-build-issue-with-musl.patch \ 11 file://0001-define-__THROW-to-avoid-build-issue-with-musl.patch \
12 file://0002-Do-not-use-rcmd-on-build-with-musl.patch \ 12 file://0002-Do-not-use-rcmd-on-build-with-musl.patch \
13 file://0001-genisoimage-Add-missing-extern-definition.patch \
13 " 14 "
14SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" 15SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9"
15SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" 16SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da"
diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Add-missing-extern-definition.patch b/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Add-missing-extern-definition.patch
new file mode 100644
index 000000000..809d3afd7
--- /dev/null
+++ b/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Add-missing-extern-definition.patch
@@ -0,0 +1,29 @@
1From fd5251cc8b82ce7a5f907c5129969097d75609fe Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Aug 2020 17:38:59 -0700
4Subject: [PATCH] genisoimage: Add missing extern definition
5
6Fixed build with gcc10
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 genisoimage/genisoimage.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/genisoimage/genisoimage.h b/genisoimage/genisoimage.h
15index bbedfb0..82c859b 100644
16--- a/genisoimage/genisoimage.h
17+++ b/genisoimage/genisoimage.h
18@@ -376,7 +376,7 @@ extern int use_fileversion;
19 extern int split_SL_component;
20 extern int split_SL_field;
21 extern char *trans_tbl;
22-char *outfile;
23+extern char *outfile;
24
25 #define JMAX 64 /* maximum Joliet file name length (spec) */
26 #define JLONGMAX 103 /* out of spec Joliet file name length */
27--
282.28.0
29