aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gl.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-03-19 11:06:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-03-19 11:13:08 +0200
commitea50fb8d03ba16ff9757687a569b3d1f2846859d (patch)
treee46a52b98d308db5eab9937e545703f521248240 /gnu/packages/gl.scm
parent3d3d4014c208e998dacbb9a3071223ec52d68025 (diff)
downloadguix-ea50fb8d03ba16ff9757687a569b3d1f2846859d.tar
guix-ea50fb8d03ba16ff9757687a569b3d1f2846859d.tar.gz
gnu: libepoxy: Add support for aarch64.
* gnu/packages/gl.scm (libepoxy)[arguments]: Add substitution to support aarch64.
Diffstat (limited to 'gnu/packages/gl.scm')
-rw-r--r--gnu/packages/gl.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 3a1e90f427..5801085c21 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -489,6 +489,10 @@ OpenGL graphics API.")
(mesa (assoc-ref inputs "mesa")))
(substitute* "src/gen_dispatch.py"
(("/usr/bin/env python") python))
+ ;; Add support for aarch64, see upstream:
+ ;; https://github.com/anholt/libepoxy/pull/114
+ (substitute* "test/dlwrap.c"
+ (("GLIBC_2.4") "GLIBC_2.17\", \"GLIBC_2.4"))
(substitute* (find-files "." "\\.[ch]$")
(("libGL.so.1") (string-append mesa "/lib/libGL.so.1"))
(("libEGL.so.1") (string-append mesa "/lib/libEGL.so.1")))