povray: fix build (#371983)

This commit is contained in:
Arne Keller
2025-01-13 17:12:11 +01:00
committed by GitHub
2 changed files with 6 additions and 6 deletions
@@ -57,6 +57,12 @@ stdenv.mkDerivation (finalAttrs: {
sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
'';
# https://github.com/POV-Ray/povray/issues/460
env.NIX_CFLAGS_COMPILE = toString [
"-fno-finite-math-only"
"-DBOOST_BIND_GLOBAL_PLACEHOLDERS"
];
configureFlags = [
"COMPILED_BY=NixOS"
"--with-boost-thread=boost_thread"
-6
View File
@@ -4788,12 +4788,6 @@ with pkgs;
polaris-web = callPackage ../servers/polaris/web.nix { };
povray = callPackage ../tools/graphics/povray {
# https://github.com/POV-Ray/povray/issues/460
# https://github.com/NixOS/nixpkgs/issues/311017
stdenv = gcc12Stdenv;
};
projectlibre = callPackage ../applications/misc/projectlibre {
jre = jre8;
jdk = jdk8;