summary refs log tree commit diff
path: root/gnu/packages/gl.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-05-10 16:47:05 +0200
committerMarius Bakke <marius@gnu.org>2021-05-13 17:03:47 +0200
commit03b6cfa0c2e449e633681c69899bd1f14e99fb81 (patch)
tree2c42af8627f4d23372cad89df0dcba128895f976 /gnu/packages/gl.scm
parentbc0a78c003c63bf6886bc29f786a8ee82e95acff (diff)
downloadguix-03b6cfa0c2e449e633681c69899bd1f14e99fb81.tar.gz
gnu: freeglut: Fix build with GCC 10.
* gnu/packages/patches/freeglut-gcc-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/gl.scm (freeglut)[source](patches): New field.
Diffstat (limited to 'gnu/packages/gl.scm')
-rw-r--r--gnu/packages/gl.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index b86f8218b2..ca16d2da69 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -107,6 +107,7 @@ as ASCII text.")
               (uri (string-append
                     "mirror://sourceforge/freeglut/freeglut/"
                     version "/freeglut-" version ".tar.gz"))
+              (patches (search-patches "freeglut-gcc-compat.patch"))
               (sha256
                (base32
                 "0s6sk49q8ijgbsrrryb7dzqx2fa744jhx1wck5cz5jia2010w06l"))))