gnu: sdl2: Fix build on 32-bit architectures.

* gnu/packages/patches/sdl2-mesa-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/sdl.scm (sdl2)[source](patches): New field.
This commit is contained in:
Marius Bakke 2019-10-15 18:09:14 +02:00
parent 2737c7fe8a
commit c436261312
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 23 additions and 0 deletions

View file

@ -114,6 +114,7 @@ joystick, and graphics hardware.")
(uri
(string-append "https://libsdl.org/release/SDL2-"
version ".tar.gz"))
(patches (search-patches "sdl2-mesa-compat.patch"))
(sha256
(base32
"0mqxp6w5jhbq6y1j690g9r3gpzwjxh4czaglw8x05l7hl49nqrdl"))))