diff options
| author | kaitammar <karim.aitammar@cea.fr> | 2026-07-29 09:54:50 +0200 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-08-19 13:52:44 +0900 |
| commit | 9225aa52771b5c88f84bcfb97aa2d9a2fb68b4ba (patch) | |
| tree | 379c57744f85540e7a246bffc25390772c87a9d2 /gnu/packages/graphics.scm | |
| parent | 69e180c4ca79b0b9ec17bb16ea3c2de6eda7e6f4 (diff) | |
gnu: povray: Fix rendering problems.
GCC 12 introduced aggressive optimizations with the -ffast-maths flag,
which prevent POV-Ray from functionning normally.
Merges: https://codeberg.org/guix/guix/pulls/10259
References: https://github.com/POV-Ray/povray/issues/482#issuecomment-3477471942
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu/packages/graphics.scm')
| -rw-r--r-- | gnu/packages/graphics.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 1bda6186240..be4bd8f3c9f 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm | |||
| @@ -2094,7 +2094,10 @@ in Julia).") | |||
| 2094 | #~(list "COMPILED_BY=Guix" | 2094 | #~(list "COMPILED_BY=Guix" |
| 2095 | (string-append "--with-boost-libdir=" | 2095 | (string-append "--with-boost-libdir=" |
| 2096 | #$(this-package-input "boost") "/lib") | 2096 | #$(this-package-input "boost") "/lib") |
| 2097 | "--disable-optimiz-arch") | 2097 | "--disable-optimiz-arch" |
| 2098 | ;; Render breaks with -ffast-math optimizations: | ||
| 2099 | ;; https://github.com/POV-Ray/povray/issues/482 | ||
| 2100 | "CXXFLAGS=-fno-finite-math-only") | ||
| 2098 | #:phases | 2101 | #:phases |
| 2099 | '(modify-phases %standard-phases | 2102 | '(modify-phases %standard-phases |
| 2100 | (add-after 'unpack 'run-prebuild | 2103 | (add-after 'unpack 'run-prebuild |
