[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/71: gnu: slim: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
53/71: gnu: slim: Fix build with gcc-14. |
Date: |
Sun, 15 Dec 2024 03:42:59 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 5ea981e6b160f8dc677e073df31035cbb90090c1
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 12 09:25:14 2024 +0100
gnu: slim: Fix build with gcc-14.
* gnu/packages/patches/slim-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (slim)[source]: Use it.
Change-Id: Ie5bd02ad047f5b6d1c185a53c2c0b1456ef941a0
---
gnu/local.mk | 1 +
gnu/packages/display-managers.scm | 4 +++-
gnu/packages/patches/slim-gcc-14.patch | 12 ++++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 5bbeaf624a..55cd6f42c6 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2195,6 +2195,7 @@ dist_patch_DATA =
\
%D%/packages/patches/sharutils-CVE-2018-1000097.patch \
%D%/packages/patches/sipwitch-fix-build-with-exosip5.patch \
%D%/packages/patches/slim-config.patch \
+ %D%/packages/patches/slim-gcc-14.patch \
%D%/packages/patches/slim-login.patch \
%D%/packages/patches/slim-display.patch \
%D%/packages/patches/slurm-23-salloc-fallback-shell.patch \
diff --git a/gnu/packages/display-managers.scm
b/gnu/packages/display-managers.scm
index 5152eb6479..e77104333c 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -545,7 +546,8 @@ GTK+, lets you select a desktop session and log in to it.")
(base32 "06r47ypf9lsy76jikrvihw8ka9j2wbrnn8g3sbxp819hcbqxg22z"))
(patches (search-patches "slim-config.patch"
"slim-login.patch"
- "slim-display.patch"))))
+ "slim-display.patch"
+ "slim-gcc-14.patch"))))
(build-system cmake-build-system)
(inputs (list fontconfig
freeglut
diff --git a/gnu/packages/patches/slim-gcc-14.patch
b/gnu/packages/patches/slim-gcc-14.patch
new file mode 100644
index 0000000000..162b630adf
--- /dev/null
+++ b/gnu/packages/patches/slim-gcc-14.patch
@@ -0,0 +1,12 @@
+Upstream status: Not presented upstream.
+
+--- slim-1.4.1/log.h.orig 2024-12-12 09:22:50.701696122 +0100
++++ slim-1.4.1/log.h 2024-12-12 09:22:20.673689802 +0100
+@@ -14,6 +14,7 @@
+ #define _LOG_H_
+
+ #include <fstream>
++#include "PAM.h"
+
+ using namespace std;
+
- 39/71: gnu: cyrus-sasl: Fix build mwith gcc-14., (continued)
- 39/71: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2024/12/15
- 43/71: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/15
- 38/71: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2024/12/15
- 65/71: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/15
- 34/71: gnu: gcc-boot0: Fix building for aarch64-linux., guix-commits, 2024/12/15
- 47/71: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 45/71: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2024/12/15
- 50/71: gnu: openblas: Update to 0.3.28; fixes build with gcc-14., guix-commits, 2024/12/15
- 49/71: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/15
- 51/71: gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 53/71: gnu: slim: Fix build with gcc-14.,
guix-commits <=
- 40/71: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/15
- 42/71: gnu: gamin: Fix build with gcc-14., guix-commits, 2024/12/15
- 41/71: gnu: bdb-4.8: Fix build with gcc-14., guix-commits, 2024/12/15
- 36/71: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/15
- 44/71: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/15
- 37/71: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/15
- 57/71: gnu: hurd: Use -Wno-error=., guix-commits, 2024/12/15
- 62/71: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 56/71: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 59/71: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/15