Hello community, here is the log from the commit of package libyami for openSUSE:Factory checked in at 2017-12-29 00:04:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyami (Old) and /work/SRC/openSUSE:Factory/.libyami.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyami" Fri Dec 29 00:04:48 2017 rev:4 rq:559580 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libyami/libyami.changes 2017-12-12 21:22:17.412395334 +0100 +++ /work/SRC/openSUSE:Factory/.libyami.new/libyami.changes 2017-12-29 00:04:50.219772521 +0100 @@ -1,0 +2,6 @@ +Fri Dec 22 17:00:54 UTC 2017 - [email protected] + +- Add fix-build-with-libva-1.x.diff to fix builds with libva 1. The patch + is only applied when building in Leap 42.x . + +------------------------------------------------------------------- New: ---- fix-build-with-libva-1.x.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyami.spec ++++++ --- /var/tmp/diff_new_pack.Sm4k12/_old 2017-12-29 00:04:55.546245703 +0100 +++ /var/tmp/diff_new_pack.Sm4k12/_new 2017-12-29 00:04:55.550244556 +0100 @@ -26,6 +26,8 @@ Group: Development/Libraries/C and C++ Url: https://github.com/01org/libyami Source0: https://github.com/01org/libyami/archive/%{name}-%{version}.tar.gz +#PATCH-FIX-OPENSUSE fix-build-with-libva-1.x.diff [email protected] -- Fix build with libva-1.x in Leap 42.3 +Patch0: fix-build-with-libva-1.x.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -64,6 +66,9 @@ %prep %setup -q -n %{name}-%{name}-%{version} +%if 0%{?suse_version} <= 1500 +%patch0 -p1 +%endif %build autoreconf -fiv ++++++ fix-build-with-libva-1.x.diff ++++++ Index: libyami-libyami-1.3.0/vaapi/vaapistreamable.h =================================================================== --- libyami-libyami-1.3.0.orig/vaapi/vaapistreamable.h +++ libyami-libyami-1.3.0/vaapi/vaapistreamable.h @@ -105,8 +105,6 @@ operator<<(std::ostream& os, const VAEnt return os << "VAEntrypointEncSliceLP"; case VAEntrypointEncPicture: return os << "VAEntrypointEncPicture"; - case VAEntrypointFEI: - return os << "VAEntrypointFEI"; default: return os << "Unknown VAEntrypoint: " << static_cast<int>(entrypoint); }
