diff --git a/os-autoinst-opencv_header.patch b/os-autoinst-opencv_header.patch new file mode 100644 index 0000000..62c9c89 --- /dev/null +++ b/os-autoinst-opencv_header.patch @@ -0,0 +1,16 @@ +diff -up os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp.orig os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp +--- os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp.orig 2019-11-21 19:49:35.000000000 +0100 ++++ os-autoinst-75fbe1d37699c43909b6c1cb698decdebf4849d7/snd2png/snd2png.cpp 2019-12-29 19:21:14.007837983 +0100 +@@ -6,11 +6,11 @@ + */ + + #include +-#include + #include + #include + #include + #include ++#include + #include + #include + #include diff --git a/os-autoinst.spec b/os-autoinst.spec index b5fd1ec..01b6fe6 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -40,6 +40,7 @@ Summary: OS-level test automation License: GPLv2+ URL: https://os-autoinst.github.io/openQA/ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz +Patch0: os-autoinst-opencv_header.patch # diff from SUSE: added perl(ExtUtils::MakeMaker) and perl(ExtUtils::Embed) # which I've found necessary before %define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make