gnu: tome4: Fix build.

* gnu/packages/games.scm (tome4)[source]: Patch 'src/tgl.h' in snippet.
This commit is contained in:
Oleg Pykhalov 2019-03-17 21:52:51 +03:00
parent de3ed0b4d4
commit 19c0cdb9e6
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C

View File

@ -37,6 +37,7 @@
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -4828,6 +4829,8 @@ Crowther & Woods, its original authors, in 1995. It has been known as
(("#elif defined(__FreeBSD__)" line)
(string-append
line " || defined(__GNUC__)")))
(substitute* '("src/tgl.h")
(("#include <GL/glext.h>") ""))
#t))))
(build-system gnu-build-system)
(native-inputs