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
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net> ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com> ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Oleg Pykhalov <go.wigust@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; 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) (("#elif defined(__FreeBSD__)" line)
(string-append (string-append
line " || defined(__GNUC__)"))) line " || defined(__GNUC__)")))
(substitute* '("src/tgl.h")
(("#include <GL/glext.h>") ""))
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs