diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 21:46:53 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 23:36:04 -0300 |
commit | 6ea7e4ea6aa36df39331953550c3a2810e05c103 (patch) | |
tree | 1bc36c65f87dfd9a78e83e1c31c971714bfadd46 /community/sdl2/khronos.patch | |
parent | 567cd9aabfa2dfc438ac7c193e275513c72f5cd9 (diff) | |
download | aports-6ea7e4ea6aa36df39331953550c3a2810e05c103.tar.bz2 aports-6ea7e4ea6aa36df39331953550c3a2810e05c103.tar.xz |
community/sdl2: move from main
Diffstat (limited to 'community/sdl2/khronos.patch')
-rw-r--r-- | community/sdl2/khronos.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/sdl2/khronos.patch b/community/sdl2/khronos.patch new file mode 100644 index 0000000000..87717f6d2f --- /dev/null +++ b/community/sdl2/khronos.patch @@ -0,0 +1,19 @@ +From: sndirsch@suse.com +Date: 2019-10-09 14:00:03+0000 +References: https://bugzilla.opensuse.org/show_bug.cgi?id=1153455 + +diff -u -r SDL2-2.0.10.orig/include/SDL_opengl_glext.h SDL2-2.0.10/include/SDL_opengl_glext.h +--- SDL2-2.0.10.orig/include/SDL_opengl_glext.h 2019-10-09 15:30:46.237981000 +0200 ++++ SDL2-2.0.10/include/SDL_opengl_glext.h 2019-10-09 15:31:37.783940000 +0200 +@@ -469,8 +469,9 @@ + typedef long GLsizeiptr; + typedef long GLintptr; + #else +-typedef ptrdiff_t GLsizeiptr; +-typedef ptrdiff_t GLintptr; ++#include <KHR/khrplatform.h> ++typedef khronos_ssize_t GLsizeiptr; ++typedef khronos_intptr_t GLintptr; + #endif + #define GL_BUFFER_SIZE 0x8764 + #define GL_BUFFER_USAGE 0x8765 |