python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / interpreters / hashlink / hashlink.patch
blob20d4eedd5a8a351daabe6f9b5e371dfe60bba042
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -107,6 +107,7 @@ LIBFLAGS += -L/opt/libjpeg-turbo/lib64
4 endif
6 LIBOPENAL = -lopenal
7 +LIBOPENGL = -lGL
8 RELEASE_NAME = linux
10 endif
11 --- a/libs/sdl/gl.c
12 +++ b/libs/sdl/gl.c
13 @@ -7,7 +7,7 @@
14 # include <OpenGLES/ES3/gl.h>
15 # define HL_GLES
16 #elif defined(HL_MAC)
17 -# include <SDL.h>
18 +# include <SDL2/SDL.h>
19 # include <OpenGL/gl3.h>
20 # define glBindImageTexture(...) hl_error("Not supported on OSX")
21 # define glDispatchCompute(...) hl_error("Not supported on OSX")
22 --- a/libs/sdl/sdl.c
23 +++ b/libs/sdl/sdl.c
24 @@ -7,7 +7,7 @@
25 # include <SDL.h>
26 # include <SDL_syswm.h>
27 #elif defined(HL_MAC)
28 -# include <SDL.h>
29 +# include <SDL2/SDL.h>
30 #else
31 # include <SDL2/SDL.h>
32 #endif