apparently, qt GL no longer relies on glu, so to get the right prototypes,
we must ask for them.
This commit is contained in:
parent
7ed01ed174
commit
06af9bb5dc
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2011/09/16 10:31:22 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2012/06/13 09:45:11 espie Exp $
|
||||
|
||||
COMMENT= environment for rapid engineering and scientific processing
|
||||
|
||||
V= 4.0
|
||||
DISTNAME= FreeMat-${V}-Source
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
PKGNAME= freemat-${V}
|
||||
|
||||
CATEGORIES= graphics math
|
||||
|
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-libs_libGraphics_GLRenderEngine_cpp,v 1.1 2012/06/13 09:45:11 espie Exp $
|
||||
--- libs/libGraphics/GLRenderEngine.cpp.orig Wed Jun 13 11:32:07 2012
|
||||
+++ libs/libGraphics/GLRenderEngine.cpp Wed Jun 13 11:33:06 2012
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <qpainter.h>
|
||||
#include <QtOpenGL>
|
||||
#include <math.h>
|
||||
+#include <GL/glu.h>
|
||||
#include "IEEEFP.hpp"
|
||||
|
||||
GLRenderEngine::GLRenderEngine(QGLWidget *widget, double x1, double y1,
|
Loading…
Reference in New Issue
Block a user