Hello community,

here is the log from the commit of package libva-vdpau-driver for 
openSUSE:Factory checked in at 2017-11-20 17:05:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libva-vdpau-driver (Old)
 and      /work/SRC/openSUSE:Factory/.libva-vdpau-driver.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libva-vdpau-driver"

Mon Nov 20 17:05:11 2017 rev:3 rq:542923 version:0.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libva-vdpau-driver/libva-vdpau-driver.changes    
2017-02-22 13:56:03.250806659 +0100
+++ 
/work/SRC/openSUSE:Factory/.libva-vdpau-driver.new/libva-vdpau-driver.changes   
    2017-11-20 17:06:25.151562025 +0100
@@ -1,0 +2,9 @@
+Fri Nov 17 10:47:10 UTC 2017 - [email protected]
+
+- Add libva-vdpau-driver-0.7.4-sigfpe-crash.patch: Fix a crash if a
+  heap is destroyed before being initialized (fdo#58836).
+- Replace libva-devel with pkgconfig(libva), pkgconfig(libva-x11)
+  and pkgconfig(libva-glx) BuildRequires: Align with what configure
+  looks for. Added bonus, now building GLX support too.
+
+-------------------------------------------------------------------

New:
----
  libva-vdpau-driver-0.7.4-sigfpe-crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libva-vdpau-driver.spec ++++++
--- /var/tmp/diff_new_pack.W8bhmN/_old  2017-11-20 17:06:26.283521043 +0100
+++ /var/tmp/diff_new_pack.W8bhmN/_new  2017-11-20 17:06:26.287520898 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libva-vdpau-driver
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,34 +15,38 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           libva-vdpau-driver
 Version:        0.7.4
 Release:        0
-License:        GPL-2.0+
 Summary:        HW video decode support for VDPAU platforms
-Url:            http://cgit.freedesktop.org/vaapi/vdpau-driver
+License:        GPL-2.0+
 Group:          System/Libraries
+Url:            http://cgit.freedesktop.org/vaapi/vdpau-driver
 Source:         
http://www.freedesktop.org/software/vaapi/releases/%{name}/%{name}-%{version}.tar.bz2
 Patch0:         libva-vdpau-driver-0.7.4-glext-85.patch
 Patch1:         libva-vdpau-driver-0.7.4-drop-h264-api.patch
 Patch2:         libva-vdpau-driver-0.7.4-fix_type.patch
-BuildRequires:  libva-devel
-BuildRequires:  libvdpau-devel
+Patch3:         libva-vdpau-driver-0.7.4-sigfpe-crash.patch
 BuildRequires:  Mesa-devel
+BuildRequires:  libvdpau-devel
 BuildRequires:  pkgconfig
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig(libva)
+BuildRequires:  pkgconfig(libva-glx)
+BuildRequires:  pkgconfig(libva-x11)
 # Replace a similar package from packman
 Provides:       vdpau-video
 Obsoletes:      vdpau-video <= %{version}-%{release}
 
 %description
-VDPAU Backend for Video Acceleration (VA) API.
+VDPAU Backend for Video Acceleration (VA) API HW video decode support.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 cat > %{name}.sh << EOF
 # use this library when NVIDIA's proprietary driver is running
 if test -c /dev/nvidiactl; then
@@ -67,8 +71,8 @@
 install -Dm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
 
 %files
-%defattr(-,root,root)
 %doc README COPYING AUTHORS NEWS
 %{_libdir}/dri/*.so
 %config %{_sysconfdir}/profile.d/%{name}.*sh
 
+%changelog

++++++ libva-vdpau-driver-0.7.4-sigfpe-crash.patch ++++++
Description: Fix a crash if a heap is destroyed before being initialized
Author: Sebastian Ramacher <[email protected]>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58836
Bug-Debian: http://bugs.debian.org/748294
Last-Update: 2014-06-02

--- vdpau-video-0.7.4.orig/src/object_heap.c
+++ vdpau-video-0.7.4/src/object_heap.c
@@ -272,8 +272,10 @@ object_heap_destroy(object_heap_p heap)
         ASSERT(obj->next_free != ALLOCATED);
     }
 
-    for (i = 0; i < heap->heap_size / heap->heap_increment; i++) {
-        free(heap->bucket[i]);
+    if (heap->bucket) {
+        for (i = 0; i < heap->heap_size / heap->heap_increment; i++) {
+            free(heap->bucket[i]);
+        }
     }
 
     pthread_mutex_destroy(&heap->mutex);

Reply via email to