lol

ogre: fix for aarch64

+8
+8
pkgs/development/libraries/ogre/default.nix
··· 19 19 sha256 = "1iv6k0dwdzg5nnzw2mcgcl663q4f7p2kj7nhs8afnsikrzxxgsi4"; 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_DEPENDENCIES=OFF" "-DOGRE_BUILD_SAMPLES=${toString withSamples}" ] 23 31 ++ map (x: "-DOGRE_BUILD_PLUGIN_${x}=on") 24 32 ([ "BSP" "OCTREE" "PCZ" "PFX" ] ++ lib.optional withNvidiaCg "CG")