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

commit 51f557dc80a9d464c71208da373bccb8a2d4cf0f
Author: Ludovic Courtès <l...@gnu.org>
AuthorDate: Wed Jun 11 23:22:27 2025 +0200

    gnu: motif: Build with GCC 11.
    
    * gnu/packages/lesstif.scm (motif)[native-inputs]: Add GCC 11.
    
    Change-Id: I4eea64de919d11e54a909ecdfafd37f4d06283fc
---
 gnu/packages/lesstif.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lesstif.scm b/gnu/packages/lesstif.scm
index b1b7fbbe82..01ca9a99fa 100644
--- a/gnu/packages/lesstif.scm
+++ b/gnu/packages/lesstif.scm
@@ -27,6 +27,7 @@
   #:use-module (gnu packages c)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages xorg))
 
@@ -77,7 +78,15 @@
       (propagated-inputs
        (list fontconfig freetype libxext libxft libxpm libxt xbitmaps))
       (native-inputs
-       (list autoconf automake byacc flex libtool pkg-config))
+       ;; This fails to build with GCC 14 due to missing header includes and
+       ;; other C semantics issues.
+       (list gcc-11
+             autoconf
+             automake
+             byacc
+             flex
+             libtool
+             pkg-config))
       (home-page "https://motif.ics.com/motif";)
       (synopsis "Toolkit for the X window system")
       (description "Motif is a standard graphical user interface, (as defined

Reply via email to