Package: gstreamer-vaapi Version: 1.13.1-1 Severity: serious Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu bionic ubuntu-patch
Dear maintainers, gstreamer-vaapi in experimental is failing to build on all 32-bit archs because of a type mismatch. Please find attached a patch which fixes this build failure. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru gstreamer-vaapi-1.13.1/debian/patches/fix-32-bit-compat.patch gstreamer-vaapi-1.13.1/debian/patches/fix-32-bit-compat.patch --- gstreamer-vaapi-1.13.1/debian/patches/fix-32-bit-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ gstreamer-vaapi-1.13.1/debian/patches/fix-32-bit-compat.patch 2018-03-04 05:10:34.000000000 +0100 @@ -0,0 +1,19 @@ +Description: Fix 32-bit compatibility with libva + gstreamer-vaapi is using a pointer to an unsigned long where the API + specifies a pointer to a uintptr_t. This works ok on 64-bit architectures, + but on 32-bit the sizes are different and gives a build failure. +Author: Steve Langasek <steve.langa...@ubuntu.com> + +Index: gstreamer-vaapi-1.13.1/gst-libs/gst/vaapi/gstvaapisurface.c +=================================================================== +--- gstreamer-vaapi-1.13.1.orig/gst-libs/gst/vaapi/gstvaapisurface.c ++++ gstreamer-vaapi-1.13.1/gst-libs/gst/vaapi/gstvaapisurface.c +@@ -237,7 +237,7 @@ + const VAImageFormat *va_format; + VASurfaceAttrib attribs[2], *attrib; + VASurfaceAttribExternalBuffers extbuf; +- unsigned long extbuf_handle; ++ uintptr_t extbuf_handle; + guint i, width, height; + + format = GST_VIDEO_INFO_FORMAT (vip); diff -Nru gstreamer-vaapi-1.13.1/debian/patches/series gstreamer-vaapi-1.13.1/debian/patches/series --- gstreamer-vaapi-1.13.1/debian/patches/series 2018-02-26 20:25:47.000000000 +0100 +++ gstreamer-vaapi-1.13.1/debian/patches/series 2018-03-04 05:06:45.000000000 +0100 @@ -0,0 +1 @@ +fix-32-bit-compat.patch