summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/patchsdl1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts/patchsdl1.sh')
-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