diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-24 23:23:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-24 23:23:14 +0300 |
commit | e384b234da9822197fab3eee665fdd2bceced08f (patch) | |
tree | d936ef10a421076b80eea9a1edcf95e740958879 /tools/ci/scripts/patchsdl1.sh | |
parent | da0d45775996118858b918b4e308d25ebc0ba62a (diff) | |
download | plus-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/patchsdl1.sh')
-rwxr-xr-x | tools/ci/scripts/patchsdl1.sh | 4 |
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 |