From 803ae2a4bf0ffbfecf802d2169297108652b3f9a Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 29 Mar 2021 19:48:47 +0200 Subject: libraries/irrlicht: Remove a sysctl.h include. Signed-off-by: Matteo Bernardini --- libraries/irrlicht/irrlicht.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libraries/irrlicht') diff --git a/libraries/irrlicht/irrlicht.SlackBuild b/libraries/irrlicht/irrlicht.SlackBuild index 71e740ad18..a81e0d8940 100644 --- a/libraries/irrlicht/irrlicht.SlackBuild +++ b/libraries/irrlicht/irrlicht.SlackBuild @@ -72,6 +72,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# https://github.com/analogdevicesinc/buildroot/blob/master/package/irrlicht/0002-remove-sys-sysctl.h.patch +sed -i '/sysctl\.h/d' source/Irrlicht/COSOperator.cpp + # Set maximum number of textures. sed -i '/_IRR_MATERIAL_MAX_TEXTURES_/s|4|8|' include/IrrCompileConfig.h -- cgit v1.2.3