From: Vivien Kraus via Guix-patches via <guix-patches@gnu.org>
To: 51952@debbugs.gnu.org
Subject: [bug#51952] Irrlicht: fix build on core-updates-frozen
Date: Thu, 18 Nov 2021 17:18:20 +0100 [thread overview]
Message-ID: <87k0h5a14j.fsf@planete-kraus.eu> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 135 bytes --]
Dear guix,
irrlicht includes <sys/sysctl.h>, but it doesn’t use it, so it’s safe to
remove it.
Best regards,
Vivien
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: Remove a bad include in irrlicht --]
[-- Type: text/x-patch, Size: 1129 bytes --]
From 86ad5ee8278ffa3bd2cc461c9536a33afccecb9a Mon Sep 17 00:00:00 2001
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Thu, 18 Nov 2021 17:16:04 +0100
Subject: [PATCH] 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.
---
gnu/packages/games.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e01ad3c8d2..c80335a1ea 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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")))
--
2.34.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 658 bytes --]
next reply other threads:[~2021-11-18 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-18 16:18 Vivien Kraus via Guix-patches via [this message]
2021-11-18 19:16 ` bug#51952: Irrlicht: fix build on core-updates-frozen Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0h5a14j.fsf@planete-kraus.eu \
--to=guix-patches@gnu.org \
--cc=51952@debbugs.gnu.org \
--cc=vivien@planete-kraus.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).