mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: irrlicht: Fix build.
* gnu/packages/games.scm (irrlicht) [phase remove-<sys/systctl.h>]: <sys/sysctl.h> has been removed from glibc, and it is not used, so remove it. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
675f324e12
commit
2691864533
1 changed files with 4 additions and 0 deletions
|
@ -3568,6 +3568,10 @@ (define-public irrlicht
|
|||
;; The actual source is buried a few directories deep.
|
||||
(chdir "source/Irrlicht/")
|
||||
#t))
|
||||
(add-after 'chdir-to-source 'remove-<sys/sysctl.h>
|
||||
(lambda _
|
||||
(substitute* "COSOperator.cpp"
|
||||
(("#include <sys/sysctl.h>") ""))))
|
||||
(add-after 'chdir-to-source 'fix-build-env
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
|
Loading…
Reference in a new issue