Source: fraqtive Version: 0.4.5-5 Tags: patch User: debian-qt-...@lists.debian.org Usertags: qt48-transition
Hi, Your package fails to build against Qt 4.8 which is currently in experimental. The transition to unstable/testing is tracked in bug #653903. I'm attaching a patch that contains the necessary changes. It can be applied even before Qt 4.8 enters unstable. Build log: > g++ -c -m64 -pipe -g -Wall -W -D_REENTRANT -DHAVE_SSE2 -DQT_OPENGL_LIB > -DQT_GUI_LIB > -DQT_CORE_LIB -DQT_HAVE_SSE2 -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++-64 -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL > -I/usr/include/qt4 -I. -I/usr/X11R6/include -I../tmp -I../tmp -o > ../tmp/debug/meshview.o > meshview.cpp > In file included from meshview.h:17:0, > from meshview.cpp:11: > datastructures.h: In function 'bool operator==(const FractalType&, const > FractalType&)': > datastructures.h:86:134: warning: suggest parentheses around '&&' within '||' > [-Wparentheses] > meshview.cpp: In member function 'void MeshView::generateTexture()': > meshview.cpp:356:95: error: 'gluBuild1DMipmaps' was not declared in this scope > make[2]: *** [../tmp/debug/meshview.o] Error 1 Regards, Felix
Description: Fix FTBFS with Qt 4.8. Include and link against GLU. Author: Felix Geyer <debfx-...@fobos.de> --- fraqtive-0.4.5.orig/src/src.pro +++ fraqtive-0.4.5/src/src.pro @@ -154,6 +154,10 @@ win32 { LIBS += -lshell32 } +unix { + LIBS += -lGLU +} + MOC_DIR = ../tmp RCC_DIR = ../tmp UI_DIR = ../tmp --- fraqtive-0.4.5.orig/src/meshview.cpp +++ fraqtive-0.4.5/src/meshview.cpp @@ -19,6 +19,7 @@ #include <QMouseEvent> #include <QWheelEvent> #include <QKeyEvent> +#include <GL/glu.h> #include "fractalpresenter.h" #include "datafunctions.h"