File: gcc4.7.patch

package info (click to toggle)
structure-synth 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,276 kB
  • ctags: 1,973
  • sloc: cpp: 10,209; python: 164; makefile: 70; sh: 15
file content (28 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Fix build failures with g++ 4.7.
Author: Sebastian Ramacher <s.ramacher@gmx.at>
Last-Update: 2012-05-13

Index: structure-synth-1.5.0/SyntopiaCore/GLEngine/Sphere.h
===================================================================
--- structure-synth-1.5.0.orig/SyntopiaCore/GLEngine/Sphere.h	2012-05-13 01:16:32.000000000 +0200
+++ structure-synth-1.5.0/SyntopiaCore/GLEngine/Sphere.h	2012-05-13 01:16:33.000000000 +0200
@@ -2,6 +2,7 @@
 
 #include "SyntopiaCore/Math/Vector3.h"
 #include "Object3D.h"
+#include <GL/glu.h>
 
 namespace SyntopiaCore {
 	namespace GLEngine {	
Index: structure-synth-1.5.0/SyntopiaCore/GLEngine/Raytracer/RayTracer.cpp
===================================================================
--- structure-synth-1.5.0.orig/SyntopiaCore/GLEngine/Raytracer/RayTracer.cpp	2012-05-13 01:16:32.000000000 +0200
+++ structure-synth-1.5.0/SyntopiaCore/GLEngine/Raytracer/RayTracer.cpp	2012-05-13 01:16:33.000000000 +0200
@@ -1,5 +1,5 @@
 #include <QThread>
-
+#include <GL/glu.h>
 
 #include "RayTracer.h"