aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/sdl.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-10-15 18:09:14 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-10-15 18:09:14 +0200
commitc43626131222b7b62d8cb6f5fe90c072d440df26 (patch)
tree40d459883846bd7fd99bc5259c79db42f3553c86 /gnu/packages/sdl.scm
parent2737c7fe8a24f18a7f1495781dbe34c4b8af5bed (diff)
downloadguix-c43626131222b7b62d8cb6f5fe90c072d440df26.tar
guix-c43626131222b7b62d8cb6f5fe90c072d440df26.tar.gz
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.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r--gnu/packages/sdl.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 6093405c43..235353f617 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -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"))))