updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / glc-lib / qt-4.8.patch
blob6daa2281968e1a19f0ba7306e0a82f2a694437c2
1 diff -Nur glc_lib.orig/GLC_lib.pro glc_lib/GLC_lib.pro
2 --- glc_lib.orig/GLC_lib.pro 2011-06-19 17:16:28.000000000 +1000
3 +++ glc_lib/GLC_lib.pro 2012-01-02 11:44:16.385034999 +1100
4 @@ -21,6 +21,7 @@
5 DEPENDPATH += .
6 INCLUDEPATH += .
7 INCLUDEPATH += ./3rdparty/zlib
8 +unix:LIBS += -lGLU
10 # Input
11 HEADERS_QUAZIP += 3rdparty/quazip/crypt.h \
12 diff -Nur glc_lib.orig/glc_object.h glc_lib/glc_object.h
13 --- glc_lib.orig/glc_object.h 2011-06-19 17:16:30.000000000 +1000
14 +++ glc_lib/glc_object.h 2012-01-02 11:42:51.918469751 +1100
15 @@ -26,6 +26,11 @@
16 #define GLC_OBJECT_H_
18 #include <QtOpenGL>
19 +#ifdef Q_WS_MAC
20 +# include <OpenGL/glu.h>
21 +#else
22 +# include <GL/glu.h>
23 +#endif
24 #include <QString>
25 #include <QUuid>
26 #include <QMutex>