tags 672000 + patch thanks On 08/05/12 20:56, Matthias Klose wrote: > The build failure is exposed by building with gcc-4.7/g++-4.7, > which is now the default gcc/g++ on x86 architectures.
Please find attached a patch to fix this FTBFS. Regards -- Sebastian Ramacher
diff -Nru structure-synth-1.5.0/debian/patches/gcc4.7.patch structure-synth-1.5.0/debian/patches/gcc4.7.patch --- structure-synth-1.5.0/debian/patches/gcc4.7.patch 1970-01-01 01:00:00.000000000 +0100 +++ structure-synth-1.5.0/debian/patches/gcc4.7.patch 2012-05-13 01:23:46.000000000 +0200 @@ -0,0 +1,24 @@ +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" + + diff -Nru structure-synth-1.5.0/debian/patches/series structure-synth-1.5.0/debian/patches/series --- structure-synth-1.5.0/debian/patches/series 2010-11-25 23:59:08.000000000 +0100 +++ structure-synth-1.5.0/debian/patches/series 2012-05-13 01:13:09.000000000 +0200 @@ -1,3 +1,4 @@ abs_data_path.patch sunflow.patch fix_help.patch +gcc4.7.patch diff -Nru structure-synth-1.5.0/debian/rules structure-synth-1.5.0/debian/rules --- structure-synth-1.5.0/debian/rules 2010-11-25 21:53:52.000000000 +0100 +++ structure-synth-1.5.0/debian/rules 2012-05-13 01:23:26.000000000 +0200 @@ -13,7 +13,7 @@ build-stamp: config-stamp dh_testdir qmake-qt4 -project \ - -after "CONFIG+=opengl" -after "QT+=xml opengl script" + -after "CONFIG+=opengl" -after "QT+=xml opengl script" -after "unix:LIBS+=-lGLU" qmake-qt4 $(MAKE) \ CFLAGS="$(CFLAGS) -DDATADIR=\\\"/usr/share/structure-synth\\\"" \
signature.asc
Description: OpenPGP digital signature