diff --git a/0006-Add-required-header-for-ostream-operations.patch b/0006-Add-required-header-for-ostream-operations.patch new file mode 100644 index 0000000..1b98f01 --- /dev/null +++ b/0006-Add-required-header-for-ostream-operations.patch @@ -0,0 +1,23 @@ +From d9786540a205bec0b381f339497d7c2cce00376b Mon Sep 17 00:00:00 2001 +From: Jonathan Wakely +Date: Wed, 1 Feb 2017 02:07:28 +0000 +Subject: [PATCH] Add required header for ostream operations + +This file uses std::ostream::operator<<(double) without including + and so fails to compile using GCC 7. +--- + k3dsdk/measurement.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/k3dsdk/measurement.h b/k3dsdk/measurement.h +index 9edf7ae..67df5aa 100644 +--- a/k3dsdk/measurement.h ++++ b/k3dsdk/measurement.h +@@ -27,6 +27,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/k3d.spec b/k3d.spec index 61ba394..4fc772f 100644 --- a/k3d.spec +++ b/k3d.spec @@ -1,6 +1,6 @@ Name: k3d Version: 0.8.0.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A 3D Modeling, Animation and Rendering System Group: Applications/Multimedia @@ -15,6 +15,8 @@ Patch2: 0002-Suppress-Wnarrow-warnings.patch Patch3: 0003-Fix-permissions.patch Patch4: 0004-Avoid-signed-unsigned-int-warning.patch Patch5: 0005-Work-around-gtkmm-gdkmm-glibmm-incompatibility.patch +# https://github.com/K-3D/k3d/pull/27 +Patch6: 0006-Add-required-header-for-ostream-operations.patch # This list is alpha sorted. BuildRequires: asciidoc @@ -97,6 +99,7 @@ rendering a model written by K-3D. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build mkdir BUILD @@ -219,6 +222,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %changelog +* Wed Feb 01 2017 Jonathan Wakely - 0.8.0.6-3 +- Rebuilt for Boost 1.63 and patched for GCC 7 + * Tue Jan 10 2017 Ralf Corsépius - 0.8.0.6-2 - Rebuild for glew-2.0.0.