diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2021-11-02 11:32:09 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-11-02 11:32:09 +0100 |
commit | 0b0054f8e2453cdff1020542fbe3fffe0f1c20f5 (patch) | |
tree | cb80824b270da856a4e6bd2df206925cf56d7e6f /package/freeglut/patches/patch-src_fg_gl2_h | |
parent | b273a788b3fa0e708c0871174e2e9bb9b12386a1 (diff) |
freeglut: update to 3.2.1, add buildroot patch to compile with gcc 10.x
Diffstat (limited to 'package/freeglut/patches/patch-src_fg_gl2_h')
-rw-r--r-- | package/freeglut/patches/patch-src_fg_gl2_h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/freeglut/patches/patch-src_fg_gl2_h b/package/freeglut/patches/patch-src_fg_gl2_h new file mode 100644 index 000000000..a552d4fa9 --- /dev/null +++ b/package/freeglut/patches/patch-src_fg_gl2_h @@ -0,0 +1,23 @@ +--- freeglut-3.2.1.orig/src/fg_gl2.h 2012-04-21 20:22:24.000000000 +0200 ++++ freeglut-3.2.1/src/fg_gl2.h 2021-11-02 10:29:44.673793670 +0100 +@@ -67,13 +67,13 @@ typedef void (APIENTRY *FGH_PFNGLENABLEV + typedef void (APIENTRY *FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint); + typedef void (APIENTRY *FGH_PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); + +-FGH_PFNGLGENBUFFERSPROC fghGenBuffers; +-FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers; +-FGH_PFNGLBINDBUFFERPROC fghBindBuffer; +-FGH_PFNGLBUFFERDATAPROC fghBufferData; +-FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray; +-FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray; +-FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer; ++extern FGH_PFNGLGENBUFFERSPROC fghGenBuffers; ++extern FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers; ++extern FGH_PFNGLBINDBUFFERPROC fghBindBuffer; ++extern FGH_PFNGLBUFFERDATAPROC fghBufferData; ++extern FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray; ++extern FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray; ++extern FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer; + + # endif + |