Hello community,
here is the log from the commit of package gstreamer-plugins-good for
openSUSE:Factory checked in at 2019-08-27 15:25:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-good (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-good"
Tue Aug 27 15:25:13 2019 rev:66 rq:725939 version:1.16.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-plugins-good/gstreamer-plugins-good.changes
2019-07-17 13:12:54.087887824 +0200
+++
/work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new.7948/gstreamer-plugins-good.changes
2019-08-27 15:25:17.168723098 +0200
@@ -1,0 +2,7 @@
+Sun Aug 25 08:33:33 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Add gstreamer-plugins-good-fix-glibc-incompat.patch: v4l2: Fix
+ type compatibility issue with glibc 2.30.
+- Use make_build macro.
+
+-------------------------------------------------------------------
New:
----
gstreamer-plugins-good-fix-glibc-incompat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-good.spec ++++++
--- /var/tmp/diff_new_pack.5SregK/_old 2019-08-27 15:25:18.248722555 +0200
+++ /var/tmp/diff_new_pack.5SregK/_new 2019-08-27 15:25:18.248722555 +0200
@@ -42,6 +42,8 @@
Source0:
https://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.xz
Source1: gstreamer-plugins-good.appdata.xml
Source99: baselibs.conf
+# PATCH-FIX-UPSTREAM gstreamer-plugins-good-fix-glibc-incompat.patch: v4l2:
Fix build with glibc 2.30
+Patch0: gstreamer-plugins-good-fix-glibc-incompat.patch
BuildRequires: Mesa-libGLESv2-devel
BuildRequires: Mesa-libGLESv3-devel
@@ -197,7 +199,7 @@
--with-package-name='openSUSE GStreamer-plugins-good package' \
--with-package-origin='http://download.opensuse.org' \
%{nil}
-make %{?_smp_mflags}
+%make_build
%endif
%install
++++++ gstreamer-plugins-good-fix-glibc-incompat.patch ++++++
>From 29c3570901e1c145dce57824ddc9276fddf0d808 Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <[email protected]>
Date: Tue, 6 Aug 2019 22:27:40 -0400
Subject: [PATCH] v4l2: Fix type compatibility issue with glibc 2.30
>From now on, we will use linux/types.h on Linux, and use typedef of the
various flavour of BSD.
Fixes #635
---
sys/v4l2/ext/types-compat.h | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/sys/v4l2/ext/types-compat.h b/sys/v4l2/ext/types-compat.h
index d3673dd49..ea21c9513 100644
--- a/sys/v4l2/ext/types-compat.h
+++ b/sys/v4l2/ext/types-compat.h
@@ -24,6 +24,11 @@
#ifndef __TYPES_COMPAT_H__
#define __TYPES_COMPAT_H__
+#ifdef __linux__
+#include <linux/types.h>
+#include <asm/ioctl.h>
+
+#else /* One of the BSDs */
/* From linux/types.h */
#ifndef __bitwise__
# ifdef __CHECKER__
@@ -41,12 +46,14 @@
# endif
#endif
-#define __u64 guint64
-#define __u32 guint32
-#define __u16 guint16
-#define __u8 guint8
-#define __s64 gint64
-#define __s32 gint32
-#define __le32 guint32 __bitwise
+typedef guint8 __u8;
+typedef guint16 __u16;
+typedef gint32 __s32;
+typedef guint32 __u32;
+typedef gint64 __s64;
+typedef guint64 __u64;
+typedef guint32 __bitwise __le32;
+
+#endif
#endif /* __TYPES_COMPAT_H__ */
--
2.22.0