summaryrefslogtreecommitdiff
path: root/tools/ci/scripts
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-24 23:23:14 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-24 23:23:14 +0300
commite384b234da9822197fab3eee665fdd2bceced08f (patch)
treed936ef10a421076b80eea9a1edcf95e740958879 /tools/ci/scripts
parentda0d45775996118858b918b4e308d25ebc0ba62a (diff)
downloadplus-e384b234da9822197fab3eee665fdd2bceced08f.tar.gz
plus-e384b234da9822197fab3eee665fdd2bceced08f.tar.bz2
plus-e384b234da9822197fab3eee665fdd2bceced08f.tar.xz
plus-e384b234da9822197fab3eee665fdd2bceced08f.zip
Add workaround for compilation warning in SDL 1.2 with new Mesa.
Diffstat (limited to 'tools/ci/scripts')
-rwxr-xr-xtools/ci/scripts/patchsdl1.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ci/scripts/patchsdl1.sh b/tools/ci/scripts/patchsdl1.sh
new file mode 100755
index 000000000..b97e12bbd
--- /dev/null
+++ b/tools/ci/scripts/patchsdl1.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# Fix compilation warning
+sed -i 's|#define GL_GLEXT_VERSION 29|#ifndef GL_GLEXT_VERSION\n#define GL_GLEXT_VERSION 29\n#endif|' /usr/include/SDL/SDL_opengl.h