From 03b6cfa0c2e449e633681c69899bd1f14e99fb81 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 10 May 2021 16:47:05 +0200 Subject: 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. --- gnu/packages/gl.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/gl.scm') 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")))) -- cgit v1.2.3