diff --git a/fix-build-with-exiv2-0.27.5.patch b/fix-build-with-exiv2-0.27.5.patch new file mode 100644 index 0000000..bb93b5e --- /dev/null +++ b/fix-build-with-exiv2-0.27.5.patch @@ -0,0 +1,23 @@ +Subject: [PATCH 1/1] fix build with exiv2 0.27.5 + +--- + tools/exp_combine.cpp | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/tools/exp_combine.cpp b/tools/exp_combine.cpp +index 6b772d3..0de77a0 100644 +--- a/tools/exp_combine.cpp ++++ b/tools/exp_combine.cpp +@@ -8,8 +8,7 @@ + + #include + +-#include +-#include ++#include + + using namespace std; + +-- +2.23.0 + diff --git a/gegl04.spec b/gegl04.spec index 5c6c299..aaac954 100644 --- a/gegl04.spec +++ b/gegl04.spec @@ -1,11 +1,12 @@ Name: gegl04 Version: 0.4.8 -Release: 3 +Release: 4 Summary: Generic Graphics Library License: LGPLv3+ URL: http://www.gegl.org/ Source0: http://download.gimp.org/pub/gegl/0.4/gegl-%{version}.tar.bz2 +Patch1: fix-build-with-exiv2-0.27.5.patch BuildRequires: chrpath, enscript, gcc-c++, gettext-devel >= 0.19.8, gobject-introspection-devel >= 1.32.0, libspiro-devel, perl-interpreter BuildRequires: ruby, SDL-devel >= 1.2.0, suitesparse-devel, vala-tools, pkgconfig(babl) >= 0.1.56, pkgconfig(cairo) >= 1.12.2, pkgconfig(exiv2) >= 0.25 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0, pkgconfig(glib-2.0) >= 2.44.0, libjpeg-devel, pkgconfig(json-glib-1.0), pkgconfig(lcms2) >= 2.8 @@ -84,6 +85,9 @@ chrpath -d $RPM_BUILD_ROOT%{_libdir}/gegl-0.4/*.so %doc %{_datadir}/gtk-doc/ %changelog +* Wed Dec 01 2021 wangkai - 0.4.8-4 +- fix build with exiv2 0.27.5 + * Thu Jan 23 2020 openEuler Buildteam - 0.4.8-3 - Type:bugfix - Id:NA