From 7d29f89250c815ce65f73d6fa2e14662f621a221 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 26 Feb 2020 13:12:17 +0100 Subject: [PATCH] media-libs/libv4l: Use merged patch from upstream Closes: https://bugs.gentoo.org/706756 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: David Seifert --- .../libv4l-1.16.6-gcc10-fno-common.patch | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/media-libs/libv4l/files/libv4l-1.16.6-gcc10-fno-common.patch b/media-libs/libv4l/files/libv4l-1.16.6-gcc10-fno-common.patch index ea43fb82e3fd..33855c682b63 100644 --- a/media-libs/libv4l/files/libv4l-1.16.6-gcc10-fno-common.patch +++ b/media-libs/libv4l/files/libv4l-1.16.6-gcc10-fno-common.patch @@ -1,6 +1,25 @@ +From afb123618b087f3ca2305b84fb004624662e52f0 Mon Sep 17 00:00:00 2001 +From: David Seifert +Date: Wed, 26 Feb 2020 11:07:29 +0100 +Subject: Fix GCC 10 / -fno-common + +* GCC 10 switches its default symbol emission mode + to cause linker errors when an object is defined + more than once. + +Bug: https://bugs.gentoo.org/706756 +Signed-off-by: David Seifert +Signed-off-by: Hans Verkuil +--- + lib/include/libdvbv5/desc_t2_delivery.h | 2 +- + lib/libdvbv5/dvb-v5.h | 26 +++++++++++++------------- + 2 files changed, 14 insertions(+), 14 deletions(-) + +diff --git a/lib/include/libdvbv5/desc_t2_delivery.h b/lib/include/libdvbv5/desc_t2_delivery.h +index 93594b76..8c11fa9a 100644 --- a/lib/include/libdvbv5/desc_t2_delivery.h +++ b/lib/include/libdvbv5/desc_t2_delivery.h -@@ -215,7 +215,7 @@ +@@ -215,7 +215,7 @@ extern const unsigned dvbt2_transmission_mode[]; * @brief converts from internal representation to string the SISO_MISO * field of dvb_desc_t2_delivery:SISO_MISO field. */ @@ -9,9 +28,11 @@ #ifdef __cplusplus } +diff --git a/lib/libdvbv5/dvb-v5.h b/lib/libdvbv5/dvb-v5.h +index 45aaddda..3540bac1 100644 --- a/lib/libdvbv5/dvb-v5.h +++ b/lib/libdvbv5/dvb-v5.h -@@ -14,17 +14,17 @@ +@@ -14,17 +14,17 @@ struct fe_status_name { char *name; }; extern struct fe_status_name fe_status_name[8]; @@ -42,3 +63,6 @@ +extern const char *dvb_v5_name[72]; +extern const char *delivery_system_name[20]; #endif +-- +cgit v1.2.1 + -- 2.26.2