unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob ad0c848d1dedcbe2cc411e7cd67e20482be16ab9 800 bytes (raw)
name: patches/xmoto-remove-glext.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
Description: Allow building without upstream-supplied glext.h
Author: Stephen Kitt <steve@sk2.org>
Bug: http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=803

--- xmoto-0.5.9+dfsg.orig/src/include/xm_OpenGL.h
+++ xmoto-0.5.9+dfsg/src/include/xm_OpenGL.h
@@ -1,7 +1,6 @@
 #ifdef ENABLE_OPENGL
 /* Pull in OpenGL headers */
 /* following scissored from SDL_opengl.h */
-#define __glext_h_  /* Don't let gl.h include glext.h */
 #ifdef HAVE_APPLE_OPENGL_FRAMEWORK
 #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
 #include <OpenGL/glu.h>	/* Header File For The GLU Library */
@@ -12,8 +11,5 @@
 #include <GL/gl.h>	/* Header File For The OpenGL Library */
 #include <GL/glu.h>	/* Header File For The GLU Library */
 #endif
-#undef __glext_h_
-
-#include "../glext.h"
 
 #endif

debug log:

solving ad0c848d1dedcbe2cc411e7cd67e20482be16ab9 ...
found ad0c848d1dedcbe2cc411e7cd67e20482be16ab9 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).