manaverse/tools/ci/scripts/patchsdl1.sh
2020-06-04 00:56:23 +03:00

4 lines
179 B
Bash
Executable file

#!/usr/bin/env 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