lol

ogre1_9: fix for aarch64

+8
+8
pkgs/development/libraries/ogre/1.9.x.nix
··· 19 19 sha256 = "11lfgzqaps3728dswrq3cbwk7aicigyz08q4hfyy6ikc6m35r4wg"; 20 20 }; 21 21 22 + # fix for ARM. sys/sysctl.h has moved in later glibcs, and 23 + # https://github.com/OGRECave/ogre-next/issues/132 suggests it isn't 24 + # needed anyway. 25 + postPatch = '' 26 + substituteInPlace OgreMain/src/OgrePlatformInformation.cpp \ 27 + --replace '#include <sys/sysctl.h>' "" 28 + ''; 29 + 22 30 cmakeFlags = [ "-DOGRE_BUILD_SAMPLES=${toString withSamples}" ] 23 31 ++ map (x: "-DOGRE_BUILD_PLUGIN_${x}=on") 24 32 ([ "BSP" "OCTREE" "PCZ" "PFX" ] ++ lib.optional withNvidiaCg "CG")