fix build
This commit is contained in:
parent
7095ac62b4
commit
231f569fa1
25
0001-deviceproviderfactory-fix-empty-class-check.patch
Normal file
25
0001-deviceproviderfactory-fix-empty-class-check.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 8697997e332e8e128a71d83f7be471ee78b5c18a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wim Taymans <wtaymans@redhat.com>
|
||||||
|
Date: Mon, 20 Feb 2017 10:49:46 +0100
|
||||||
|
Subject: [PATCH] deviceproviderfactory: fix empty class check
|
||||||
|
|
||||||
|
---
|
||||||
|
gst/gstdeviceproviderfactory.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gst/gstdeviceproviderfactory.c b/gst/gstdeviceproviderfactory.c
|
||||||
|
index 305e214..4835f99 100644
|
||||||
|
--- a/gst/gstdeviceproviderfactory.c
|
||||||
|
+++ b/gst/gstdeviceproviderfactory.c
|
||||||
|
@@ -498,7 +498,7 @@ gst_device_provider_factory_has_classesv (GstDeviceProviderFactory * factory,
|
||||||
|
const gchar *found;
|
||||||
|
guint len;
|
||||||
|
|
||||||
|
- if (classes[0] == '\0')
|
||||||
|
+ if (classes[0][0] == '\0')
|
||||||
|
continue;
|
||||||
|
|
||||||
|
found = strstr (klass, classes[0]);
|
||||||
|
--
|
||||||
|
2.9.3
|
||||||
|
|
@ -24,6 +24,7 @@ Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{versi
|
|||||||
%endif
|
%endif
|
||||||
## For GStreamer RPM provides
|
## For GStreamer RPM provides
|
||||||
Patch0: gstreamer-inspect-rpm-format.patch
|
Patch0: gstreamer-inspect-rpm-format.patch
|
||||||
|
Patch1: 0001-deviceproviderfactory-fix-empty-class-check.patch
|
||||||
Source1: gstreamer1.prov
|
Source1: gstreamer1.prov
|
||||||
Source2: gstreamer1.attr
|
Source2: gstreamer1.attr
|
||||||
|
|
||||||
@ -92,6 +93,7 @@ GStreamer streaming media framework.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n gstreamer-%{version}
|
%setup -q -n gstreamer-%{version}
|
||||||
%patch0 -p1 -b .rpm-provides
|
%patch0 -p1 -b .rpm-provides
|
||||||
|
%patch1 -p1 -b .0001
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -216,6 +218,7 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
- fix build
|
||||||
|
|
||||||
* Fri Jan 13 2017 Wim Taymans <wtaymans@redhat.com> - 1.11.1-1
|
* Fri Jan 13 2017 Wim Taymans <wtaymans@redhat.com> - 1.11.1-1
|
||||||
- Update to 1.11.1
|
- Update to 1.11.1
|
||||||
|
Loading…
Reference in New Issue
Block a user