diff options
author | Matteo Bernardini | 2020-01-26 12:12:46 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-01-26 12:12:46 +0100 |
commit | 5c6dca884b084906c44487685b3076b1af9535e5 (patch) | |
tree | 539e39579797fc68f887f55276d1d3a18b2e2107 /games/supertuxkart/mesa-18.3.patch | |
parent | 192ba2be163f6c90f8b56e4d4a59c6b7ef3b1b5c (diff) | |
download | slackbuilds-5c6dca884b084906c44487685b3076b1af9535e5.tar.gz |
20200126.1 global branch merge.current-20200126.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/supertuxkart/mesa-18.3.patch')
-rw-r--r-- | games/supertuxkart/mesa-18.3.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games/supertuxkart/mesa-18.3.patch b/games/supertuxkart/mesa-18.3.patch new file mode 100644 index 0000000000..b144177255 --- /dev/null +++ b/games/supertuxkart/mesa-18.3.patch @@ -0,0 +1,23 @@ +From 3a3953f38c3555e87f3608d0291dbfccf34e9775 Mon Sep 17 00:00:00 2001 +From: Deve <deveee@gmail.com> +Date: Wed, 21 Nov 2018 21:07:55 +0100 +Subject: [PATCH] Fix for system glew + +--- + src/graphics/gl_headers.hpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/graphics/gl_headers.hpp b/src/graphics/gl_headers.hpp +index fc9867cb59..290805cafe 100644 +--- a/src/graphics/gl_headers.hpp ++++ b/src/graphics/gl_headers.hpp +@@ -25,6 +25,9 @@ + extern "C" { + #if !defined(USE_GLES2) + # include <GL/glew.h> ++// This is a workaround for mesa drivers that now use __gl_glext_h_ instead of ++// __glext_h_ in header file which is not defined in current glew version ++# define __gl_glext_h_ + #endif + } + #include <cinttypes> |