~ruther/guix-local

2691864533aa1d557838bc842aa88b2f9daa37d4 — Vivien Kraus 4 years ago 675f324
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>
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/games.scm
M gnu/packages/games.scm => gnu/packages/games.scm +4 -0
@@ 3568,6 3568,10 @@ are primarily in English, however some in other languages are provided.")
             ;; 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")))