Make the port build with the upcoming Qt 4.8.x series.
Since 4.8.0 [1], Qt itself does not automatically include GLU's
headers and libraries with its OpenGL module, so applications which
relied on Qt to get these need to be adjusted.
PORTREVISION bumped since we now explicitly depend on GLU via
USE_GL=glu.
[1] e7eed096a0
This commit is contained in:
parent
c7bd24eb19
commit
cb15105d41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296993
3 changed files with 23 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= autoq3d
|
||||
DISTVERSION= 1.40
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION}
|
||||
DISTNAME= AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source
|
||||
|
@ -17,6 +18,7 @@ COMMENT= A complete QT quick 3d model editor program
|
|||
LICENSE= GPLv2 GPLv3
|
||||
LICENSE_COMB= dual
|
||||
|
||||
USE_GL= glu
|
||||
USE_ZIP= yes
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= corelib gui opengl \
|
||||
|
|
10
graphics/autoq3d/files/patch-AutoQ3D.pro
Normal file
10
graphics/autoq3d/files/patch-AutoQ3D.pro
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- AutoQ3D.pro~ 2012-05-19 22:52:00.000000000 -0300
|
||||
+++ AutoQ3D.pro 2012-05-19 22:56:52.000000000 -0300
|
||||
@@ -8,6 +8,7 @@
|
||||
win32:LIBS+= -L$(QTDIR)/plugins/imageformats -lqjpeg4
|
||||
|
||||
QT += opengl
|
||||
+LIBS += -lGLU
|
||||
DEPENDPATH += . \
|
||||
src \
|
||||
src/cmds \
|
11
graphics/autoq3d/files/patch-src__fgui__glapparea.cpp
Normal file
11
graphics/autoq3d/files/patch-src__fgui__glapparea.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/fgui/glapparea.cpp~ 2012-05-19 22:54:35.000000000 -0300
|
||||
+++ src/fgui/glapparea.cpp 2012-05-19 22:54:50.000000000 -0300
|
||||
@@ -24,6 +24,8 @@
|
||||
#include <qtimer.h>
|
||||
#include <math.h>
|
||||
|
||||
+#include <GL/glu.h>
|
||||
+
|
||||
|
||||
GLAppArea::GLAppArea( QWidget* parent,QStringList* strlista)
|
||||
: QGLWidget( parent)
|
Loading…
Reference in a new issue