Fix FTBFS on s390x due to header file not matching implementation

This commit is contained in:
Simon Farnsworth 2015-02-15 15:42:18 +00:00
parent fc3b36719d
commit efb2d98571
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 2be235474ed11063c608a0d51a189a106b4f38b5 Mon Sep 17 00:00:00 2001
From: Simon Farnsworth <simon@farnz.org.uk>
Date: Sun, 15 Feb 2015 15:01:03 +0000
Subject: [PATCH] window: Correct prototype to match implementation
---
gst-libs/gst/vaapi/gstvaapiwindow_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_priv.h b/gst-libs/gst/vaapi/gstvaapiwindow_priv.h
index af1581b..08cd90c 100644
--- a/gst-libs/gst/vaapi/gstvaapiwindow_priv.h
+++ b/gst-libs/gst/vaapi/gstvaapiwindow_priv.h
@@ -111,7 +111,7 @@ struct _GstVaapiWindowClass
GstVaapiWindow *
gst_vaapi_window_new_internal (const GstVaapiWindowClass * window_class,
- GstVaapiDisplay * display, guintptr handle, guint width, guint height);
+ GstVaapiDisplay * display, GstVaapiID handle, guint width, guint height);
/* Inline reference counting for core libgstvaapi library */
#ifdef IN_LIBGSTVAAPI_CORE
--
2.1.0

View File

@ -1,11 +1,13 @@
Name: gstreamer1-vaapi
Version: 0.5.10
Release: 1%{?dist}
Release: 2%{?dist}
Summary: GStreamer plugins to use VA API video acceleration
License: LGPLv2+
URL: https://gitorious.org/vaapi/gstreamer-vaapi/
Source0: http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.bz2
# https://bugzilla.gnome.org/show_bug.cgi?id=744559
Patch1: 0001-window-Correct-prototype-to-match-implementation.patch
BuildRequires: glib2-devel >= 2.28
BuildRequires: gstreamer1-devel >= 1.0.0
@ -48,6 +50,7 @@ developing applications that use %{name}.
%prep
%setup -q -n gstreamer-vaapi-%{version}
%patch1 -p1 -b .gstvaapiid
%build
@ -90,6 +93,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/gstreamer-vaapi*.pc
%changelog
* Sun Feb 15 2015 Simon Farnsworth <simon.farnsworth@onelan.co.uk> - 0.5.10-2
- Fix FTBFS on s390x due to header file not matching implementation
* Tue Feb 3 2015 Simon Farnsworth <simon@farnz.org.uk> - 0.5.10-1
- Update to 0.5.10 release
- Filter out encoder and decoder Provides