From 20303c766e6d4906631362221f9775d5f69f5d6eca2915d36facc6795471776e Mon Sep 17 00:00:00 2001 From: Mia Herkt <9+suse@cirno.systems> Date: Thu, 5 Dec 2019 10:33:27 +0000 Subject: [PATCH] Accepting request 754290 from home:marxin:branches:multimedia:libs - Add update-matrix3.cpp.patch in order to fix boo#1158372. OBS-URL: https://build.opensuse.org/request/show/754290 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/zimg?expand=0&rev=24 --- update-matrix3.cpp.patch | 21 +++++++++++++++++++++ zimg.changes | 6 ++++++ zimg.spec | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 update-matrix3.cpp.patch diff --git a/update-matrix3.cpp.patch b/update-matrix3.cpp.patch new file mode 100644 index 0000000..8ccb542 --- /dev/null +++ b/update-matrix3.cpp.patch @@ -0,0 +1,21 @@ +From 9ae36d7d5f7420eaacd9644451933512fa13d716 Mon Sep 17 00:00:00 2001 +From: sekrit-twc +Date: Wed, 4 Dec 2019 12:01:26 -0800 +Subject: [PATCH] Update matrix3.cpp + +--- + src/zimg/colorspace/matrix3.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/zimg/colorspace/matrix3.cpp b/src/zimg/colorspace/matrix3.cpp +index 06e0e2f..b4aeea7 100644 +--- a/src/zimg/colorspace/matrix3.cpp ++++ b/src/zimg/colorspace/matrix3.cpp +@@ -1,3 +1,4 @@ ++#include + #include "matrix3.h" + + namespace zimg { +-- +2.24.0 + diff --git a/zimg.changes b/zimg.changes index 10cc820..94889c5 100644 --- a/zimg.changes +++ b/zimg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 5 08:54:26 UTC 2019 - Martin Liška + +- Add update-matrix3.cpp.patch in order + to fix boo#1158372. + ------------------------------------------------------------------- Fri Aug 2 02:43:17 UTC 2019 - Martin Herkt <9+suse@cirno.systems> diff --git a/zimg.spec b/zimg.spec index 7a1b4e7..62e8552 100644 --- a/zimg.spec +++ b/zimg.spec @@ -26,6 +26,7 @@ Group: Development/Libraries/C and C++ URL: https://github.com/sekrit-twc/zimg Source0: zimg-%{version}.tar.xz Source99: baselibs.conf +Patch0: update-matrix3.cpp.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -55,6 +56,7 @@ developing applications that use libzimg%{sover}. %prep %setup -q +%patch0 -p1 %build autoreconf -fiv