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.
This commit is contained in:
Marius Bakke 2021-05-10 16:47:05 +02:00
parent bc0a78c003
commit 03b6cfa0c2
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 55 additions and 0 deletions

View file

@ -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"))))