This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
     new 41531d90b0 gnu: libreoffice: Remove gcc-12 and its related fix.
41531d90b0 is described below

commit 41531d90b0190dcb4d32e5b1c86c9f53c66dc0cf
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jun 26 12:43:53 2025 +0200

    gnu: libreoffice: Remove gcc-12 and its related fix.
    
    * gnu/packages/libreoffice.scm (libreoffice)
      [arguments]{phases}: Remove fix introduced with gcc-12.
      [native-inputs]: Remove gcc-12.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/libreoffice.scm | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index c8e8123e75..8e2db6861f 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -970,27 +970,6 @@ commonly called @code{ftoa} or @code{dtoa}.")
                 (("/usr/bin/xdg-open")
                  (search-input-file inputs "/bin/xdg-open")))
 
-              ;; https://issues.guix.gnu.org/43579
-              (substitute* '("sal/rtl/math.cxx"
-                               "sc/source/core/tool/math.cxx")
-                  (("std::(fe[gs]etround|feclearexcept|fetestexcept)" all 
suffix)
-                   suffix))
-              (let ((gcc-11-dir (dirname
-                                 (dirname
-                                  (dirname
-                                   (search-input-directory
-                                    inputs "share/doc/gcc-11.4.0"))))))
-                (setenv
-                 "CPLUS_INCLUDE_PATH"
-                 (string-join
-                  (remove
-                   (cut member <>
-                        (list
-                         (string-append gcc-11-dir "/include/c++")
-                         (string-append gcc-11-dir "/include")))
-                   (string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
-                  ":")))
-
               (setenv "CPPFLAGS" "-std=c++20")))
           (add-after 'install 'reset-zip-timestamps
             (lambda _
@@ -1119,7 +1098,6 @@ commonly called @code{ftoa} or @code{dtoa}.")
            cppunit
            flex
            frozen                       ;header-only library
-           gcc-12
            pkg-config
            python-wrapper
            which

Reply via email to