Irrlicht: fix build on core-updates-frozen

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Vivien Kraus
Owner
unassigned
Submitted by
Vivien Kraus
Severity
normal

Debbugs page

Vivien Kraus wrote 3 years ago
(address . guix-patches@gnu.org)
87k0h5a14j.fsf@planete-kraus.eu
Dear guix,

irrlicht includes <sys/sysctl.h>, but it doesn’t use it, so it’s safe to
remove it.

Best regards,

Vivien
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(+)

Toggle diff (17 lines)
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
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEEq4yIHjMvkliPpwQnO7C8EjLYuCwFAmGWfMwACgkQO7C8EjLY
uCws+wwAmrjRW7kUUSmEZQ8R/ejyoxnD+jKeqQIbc4tKilRtv7YC34AE06/WTEYE
AwMf02O5BD7TTewLCDjbr/JNBWn9K5yz8whoKx/DTkUSl3MZUxExcja2W0dSgX2P
+smo2noZmOeaTR0Ot1a8zjVqMW0aSXmP4tLVdfq1otRNdySSK00WBN+UK7e7gnoq
xJw0bQOtOjdVbzX1/Op4Nh7FsRljFL/SspBxsysDYwM2LiqxUj7YXe/pMJtCoP+5
e6A66doko/wp0bcT3B80fFOm2efaiYQp6knaMUlOfEoCGzGYP/i55g5Sb/6cUn+J
p/fkfdUZwmQR98vRBG37OUeFGYx8bTkJKT7+71C/isitePdOUxTK5WjngtvzRt7p
HuW/fFKw2y89KDdGOx0L0l6gN3wLkGT4WYPUWvdOhsp0nSiw3y3TC0mAnWQYGd+h
ZSGo1aN+kvTmpHwMZQmuj0o+CwGApfaRTUzjRB9PhOtvnPd+J2r14CtDNMgixFdr
lJjqCHj5
=Q59+
-----END PGP SIGNATURE-----

Efraim Flashner wrote 3 years ago
(name . Vivien Kraus)(address . vivien@planete-kraus.eu)(address . 51952-done@debbugs.gnu.org)
YZamcWepkfx42+r2@3900XT
Thanks! Patch pushed.

--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGWpnAACgkQQarn3Mo9
g1FAgw/9G0D9DPwQ1p1kM2kBoM8LPgH90wDDLEn3uhLNxsUZUS7tNw6aoAbqNDXI
GOW/jpcPVEzi3FnnSd90sCYvaOZPxE4dSyaF5WU75bLNwNOvOul4b3ca1JKs5RQn
zK6Sj6DXUFSdRNOXlV0UnQJUPXkvYVa9VT50axWg8xThWnXLFQ/hDHsIfvBgtBFR
bHDVR6jGtqQrCBe4KHBejcobKrSdfaKaL7wKzLey/OtmYpUFfsnxuA8LXymC0g2S
+3Dnom+BcC6nd+dbYema5cQHDpF8QEbv/O/XwY7I5dmFC9Zvz0JNaJEO/m7/MJeY
bMjJPZczd5Y23RFXAZykKou+8s7JqmkMHF4K4dMYA7d7A+mYFRJY2vTcLobGSCzC
gxE5+oIzLkYyIlqZkm31qOxNct2ZJTXvSWeP+h6+vkS1wFTehIQr2flwN6HO7LKB
YLg5UQufR8qRTtazyKtNnb+iLsYDWrXSHP3mGkXgK7rRatj0au9r+fWPu90pM+Vr
m8zDyQnIZqRO4uHUdZvOP94Y+kM1spThTR/YtOOcuFoVFnMZe1ozuliHitCvT4L7
Li3xtR4sAggGGrWdNhhYZHhhXoJfq4OmbqddumuFzkoR/5mlAmEJ7Y6fNWDraqye
9LjeJP+W9uMvDdp33lVfH73hn6KM7r4LdBqfWGjp28yq7RpsuEk=
=59Ad
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 51952@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 51952
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help