summarylogtreecommitdiffstats
path: root/opengl.patch
diff options
context:
space:
mode:
authorAlexander 'z33ky' Hirsch2017-06-02 10:17:27 +0200
committerAlexander 'z33ky' Hirsch2017-06-02 10:17:27 +0200
commit048f0b4c58e1c049213c1d10f8a7d269b0ed1be3 (patch)
tree3c477eb0177831461b03287fdb299a7654625208 /opengl.patch
parent0dfdc34803047288a9fbc62195774785dc881804 (diff)
downloadaur-048f0b4c58e1c049213c1d10f8a7d269b0ed1be3.tar.gz
Update to 1.8.0
OpenGL support doesn't seem to get built in, so a patch is provided. This is not the cleanest method, but it works I guess.
Diffstat (limited to 'opengl.patch')
-rw-r--r--opengl.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/opengl.patch b/opengl.patch
new file mode 100644
index 000000000000..da94c73c47e9
--- /dev/null
+++ b/opengl.patch
@@ -0,0 +1,40 @@
+--- include/IL/ilut_config.h.old 2017-06-02 09:55:51.057995171 +0200
++++ include/IL/ilut_config.h 2017-06-02 09:56:03.494411426 +0200
+@@ -16,11 +16,11 @@
+ //
+ #undef ILUT_USE_ALLEGRO
+
+-#undef ILUT_USE_DIRECTX8
++//#undef ILUT_USE_DIRECTX8
+ //#define ILUT_USE_DIRECTX9
+ //#define ILUT_USE_DIRECTX10
+ #define ILUT_USE_OPENGL
+ //#define ILUT_USE_SDL
+-#define ILUT_USE_WIN32
++//#define ILUT_USE_WIN32
+
+ #endif//__ILUT_CONFIG_H__
+--- include/IL/ilut.h.old 2017-06-02 09:54:48.259185625 +0200
++++ include/IL/ilut.h 2017-06-02 09:54:55.892381093 +0200
+@@ -96,10 +96,10 @@
+ #pragma comment(lib, "ILUT.lib")
+ #endif
+ #endif
+-
+- #include <IL/ilut_config.h>
+ #endif
+
++#include <IL/ilut_config.h>
++
+
+
+
+--- src-ILUT/pkgconfig/ILUT.pc.cmake.in.old 2017-06-02 10:09:04.646074566 +0200
++++ src-ILUT/pkgconfig/ILUT.pc.cmake.in 2017-06-02 10:09:19.438930975 +0200
+@@ -10,5 +10,5 @@ URL: http://openil.sourceforge.net
+ Requires: IL ILU
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -lILUT
+-Libs.private: -lIL -lILU
++Libs.private: -lIL -lILU -lGL -lGLU
+