[packages/gstreamer-plugins-bad] - added no-common patch (fix build with -fno-common, gcc 10 default); release 4

qboosh qboosh at pld-linux.org
Thu Jul 9 06:29:00 CEST 2020


commit 416be92ab9e861e6986dc2cfd1e3dc18a803a543
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 9 06:30:19 2020 +0200

    - added no-common patch (fix build with -fno-common, gcc 10 default); release 4

 gstreamer-plugins-bad-no-common.patch | 118 ++++++++++++++++++++++++++++++++++
 gstreamer-plugins-bad.spec            |   4 +-
 2 files changed, 121 insertions(+), 1 deletion(-)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index 7ddcb4e..d880dd0 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -67,7 +67,7 @@ Summary:	Bad GStreamer Streaming-media framework plugins
 Summary(pl.UTF-8):	Złe wtyczki do środowiska obróbki strumieni GStreamer
 Name:		gstreamer-plugins-bad
 Version:	1.16.2
-Release:	3
+Release:	4
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.xz
@@ -76,6 +76,7 @@ Patch0:		%{name}-libdts.patch
 Patch1:		%{name}-mfx.patch
 Patch2:		%{name}-neon.patch
 Patch3:		gstreamer-make.patch
+Patch4:		%{name}-no-common.patch
 URL:		https://gstreamer.freedesktop.org/
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake >= 1:1.14
@@ -1329,6 +1330,7 @@ Wtyczka GStreamera skanująca kody kreskowe.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
diff --git a/gstreamer-plugins-bad-no-common.patch b/gstreamer-plugins-bad-no-common.patch
new file mode 100644
index 0000000..46c57ce
--- /dev/null
+++ b/gstreamer-plugins-bad-no-common.patch
@@ -0,0 +1,118 @@
+--- gst-plugins-bad-1.16.2/ext/lv2/gstlv2.h.orig	2019-04-19 11:16:36.000000000 +0200
++++ gst-plugins-bad-1.16.2/ext/lv2/gstlv2.h	2020-07-08 21:00:03.729990534 +0200
+@@ -28,40 +28,40 @@
+ 
+ #include "gstlv2utils.h"
+ 
+-LilvWorld *world;
+-LilvNode *atom_class;
+-LilvNode *audio_class;
+-LilvNode *control_class;
+-LilvNode *cv_class;
+-LilvNode *event_class;
+-LilvNode *input_class;
+-LilvNode *output_class;
+-LilvNode *preset_class;
+-LilvNode *state_iface;
+-LilvNode *state_uri;
+-
+-LilvNode *integer_prop;
+-LilvNode *toggled_prop;
+-LilvNode *designation_pred;
+-LilvNode *in_place_broken_pred;
+-LilvNode *optional_pred;
+-LilvNode *group_pred;
+-LilvNode *supports_event_pred;
+-LilvNode *label_pred;
+-
+-LilvNode *center_role;
+-LilvNode *left_role;
+-LilvNode *right_role;
+-LilvNode *rear_center_role;
+-LilvNode *rear_left_role;
+-LilvNode *rear_right_role;
+-LilvNode *lfe_role;
+-LilvNode *center_left_role;
+-LilvNode *center_right_role;
+-LilvNode *side_left_role;
+-LilvNode *side_right_role;
++extern LilvWorld *world;
++extern LilvNode *atom_class;
++extern LilvNode *audio_class;
++extern LilvNode *control_class;
++extern LilvNode *cv_class;
++extern LilvNode *event_class;
++extern LilvNode *input_class;
++extern LilvNode *output_class;
++extern LilvNode *preset_class;
++extern LilvNode *state_iface;
++extern LilvNode *state_uri;
++
++extern LilvNode *integer_prop;
++extern LilvNode *toggled_prop;
++extern LilvNode *designation_pred;
++extern LilvNode *in_place_broken_pred;
++extern LilvNode *optional_pred;
++extern LilvNode *group_pred;
++extern LilvNode *supports_event_pred;
++extern LilvNode *label_pred;
++
++extern LilvNode *center_role;
++extern LilvNode *left_role;
++extern LilvNode *right_role;
++extern LilvNode *rear_center_role;
++extern LilvNode *rear_left_role;
++extern LilvNode *rear_right_role;
++extern LilvNode *lfe_role;
++extern LilvNode *center_left_role;
++extern LilvNode *center_right_role;
++extern LilvNode *side_left_role;
++extern LilvNode *side_right_role;
+ 
+-GstStructure *lv2_meta_all;
++extern GstStructure *lv2_meta_all;
+ 
+ void gst_lv2_filter_register_element (GstPlugin *plugin,
+                                       GstStructure * lv2_meta);
+--- gst-plugins-bad-1.16.2/ext/lv2/gstlv2.c.orig	2019-04-19 11:16:36.000000000 +0200
++++ gst-plugins-bad-1.16.2/ext/lv2/gstlv2.c	2020-07-09 06:23:27.262986607 +0200
+@@ -69,6 +69,39 @@
+ #error "Unsupported OS"
+ #endif
+ 
++LilvWorld *world;
++LilvNode *atom_class;
++LilvNode *audio_class;
++LilvNode *control_class;
++LilvNode *cv_class;
++LilvNode *event_class;
++LilvNode *input_class;
++LilvNode *output_class;
++LilvNode *preset_class;
++LilvNode *state_iface;
++LilvNode *state_uri;
++
++LilvNode *integer_prop;
++LilvNode *toggled_prop;
++LilvNode *designation_pred;
++LilvNode *in_place_broken_pred;
++LilvNode *optional_pred;
++LilvNode *group_pred;
++LilvNode *supports_event_pred;
++LilvNode *label_pred;
++
++LilvNode *center_role;
++LilvNode *left_role;
++LilvNode *right_role;
++LilvNode *rear_center_role;
++LilvNode *rear_left_role;
++LilvNode *rear_right_role;
++LilvNode *lfe_role;
++LilvNode *center_left_role;
++LilvNode *center_right_role;
++LilvNode *side_left_role;
++LilvNode *side_right_role;
++
+ GstStructure *lv2_meta_all = NULL;
+ 
+ static void
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/416be92ab9e861e6986dc2cfd1e3dc18a803a543



More information about the pld-cvs-commit mailing list