guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: irrlicht: Fix build.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: irrlicht: Fix build.
Date: Thu, 18 Nov 2021 14:16:01 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 2691864  gnu: irrlicht: Fix build.
2691864 is described below

commit 2691864533aa1d557838bc842aa88b2f9daa37d4
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Nov 18 17:16:04 2021 +0100

    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>
---
 gnu/packages/games.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e01ad3c..c80335a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]