diff options
author | Matteo Bernardini | 2019-08-24 10:35:48 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-08-24 10:35:48 +0200 |
commit | e93fc1029f35673e06f2d9126d1353248d7e3896 (patch) | |
tree | 23b5b1b9250223d5c1c941b9bb3c21e2a59645e6 /graphics/k3d/gcc7.patch | |
parent | 5afd639f0f73f1a079e885e0ef5df06643eba6a4 (diff) | |
download | slackbuilds-current-20190824.1.tar.gz |
20190824.1 global branch merge.current-20190824.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/k3d/gcc7.patch')
-rw-r--r-- | graphics/k3d/gcc7.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/k3d/gcc7.patch b/graphics/k3d/gcc7.patch new file mode 100644 index 0000000000..887eeb8bd3 --- /dev/null +++ b/graphics/k3d/gcc7.patch @@ -0,0 +1,23 @@ +From d9786540a205bec0b381f339497d7c2cce00376b Mon Sep 17 00:00:00 2001 +From: Jonathan Wakely <jwakely@redhat.com> +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 +<ostream> 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 9edf7aef..67df5aa0 100644 +--- a/k3dsdk/measurement.h ++++ b/k3dsdk/measurement.h +@@ -27,6 +27,7 @@ + + #include <cassert> + #include <iosfwd> ++#include <ostream> + #include <map> + #include <string> + #include <typeinfo> |