Fix to build in mock.
[fedora-mingw.git] / ocaml-lablgl / mingw32-ocaml-lablgl-1.03-evil-glut-header.patch
diff --git a/ocaml-lablgl/mingw32-ocaml-lablgl-1.03-evil-glut-header.patch b/ocaml-lablgl/mingw32-ocaml-lablgl-1.03-evil-glut-header.patch
new file mode 100644 (file)
index 0000000..ef20d4f
--- /dev/null
@@ -0,0 +1,11 @@
+--- lablgl-1.03/LablGlut/src/wrap_glut.c.orig  2008-11-23 20:40:12.000000000 +0000
++++ lablgl-1.03/LablGlut/src/wrap_glut.c       2008-11-23 20:41:13.000000000 +0000
+@@ -13,7 +13,7 @@
+ #ifdef __APPLE__
+ #include <GLUT/glut.h>
+ #else
+-#include <GL/glut.h>
++#include "/usr/include/GL/glut.h"
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>