From 246650641bab7e5f4a6f29cb14641c2ccdeffcb2 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Tue, 29 May 2012 21:02:35 -0500 Subject: [PATCH] Fixup: GLXEW_VAR_EXPORT changeover broke GLXEW_VERSION_1_0 and GLXEW_VERSION_1_1 variables. --- auto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/Makefile b/auto/Makefile index 41960cf..a6d4205 100644 --- a/auto/Makefile +++ b/auto/Makefile @@ -155,7 +155,7 @@ $(I.DEST)/glxew.h: $(EXT)/.dummy echo -e "\n#if defined(GLEW_MX)\nstruct GLXEWContextStruct\n{\n#endif /* GLEW_MX */\n" >> $@ $(BIN)/make_struct_var.pl GLXEW_VAR_EXPORT $(GLX_CORE_SPEC) $(GLX_EXT_SPEC) >> $@ echo -e "\n#ifdef GLEW_MX\n}; /* GLXEWContextStruct */\n#endif /* GLEW_MX */\n" >> $@ - perl -e 's/GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2;/GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_0;\nGLXEW_EXPORT GLboolean __GLXEW_VERSION_1_1;\nGLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2;/' -pi $@ + perl -e 's/GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2;/GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_0;\nGLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_1;\nGLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2;/' -pi $@ cat $(SRC)/glxew_tail.h >> $@ $(S.DEST)/glew.c: $(EXT)/.dummy