diff options
author | Matteo Bernardini | 2019-02-23 07:59:47 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-02-23 07:59:47 +0100 |
commit | 1e0504fb667c2e46b7658648e95f6bec2232b005 (patch) | |
tree | 59f57dadb63234845f17b82010dc7c5fc11e1446 /graphics/k3d/gcc7.patch | |
parent | 56fec0e2e3a00a31f6b83d66093db60a3bbb19f4 (diff) | |
download | slackbuilds-current-20190223.1.tar.gz |
20190223.1 global branch merge.current-20190223.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> |