guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

224/246: gnu: freerdp: Fix build with gcc-14.


From: guix-commits
Subject: 224/246: gnu: freerdp: Fix build with gcc-14.
Date: Sun, 12 Jan 2025 10:21:50 -0500 (EST)

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

commit 96cc344f1ffb23f00dcef090b0b1db281f4d92be
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Jan 5 16:39:22 2025 +0100

    gnu: freerdp: Fix build with gcc-14.
    
    * gnu/packages/rdesktop.scm (freerdp)[arguments]: Add -DCMAKE_C_FLAGS to
    relax gcc-14's strictness.
    
    Change-Id: I7a655245820ab97aeafa21c6a8591b9a5a05fabc
---
 gnu/packages/rdesktop.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index d5d49edc20..256325a50a 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -147,7 +148,10 @@ to remotely control a user's Windows desktop.")
     (arguments
      (list #:build-type "RELEASE"
            #:configure-flags
-           #~(list "-DWITH_JPEG=ON"
+           #~(list (string-append "-DCMAKE_C_FLAGS="
+                                  " -Wno-error=incompatible-pointer-types"
+                                  " -Wno-error=int-conversion")
+                   "-DWITH_JPEG=ON"
                    #$@(if (target-x86-64?)
                           #~("-DWITH_SSE2=ON")
                           #~())



reply via email to

[Prev in Thread] Current Thread [Next in Thread]