[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/136: gnu: slim: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
53/136: gnu: slim: Fix build with gcc-14. |
Date: |
Wed, 1 Jan 2025 10:24:28 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 8d2d3e3172291c44e85735d298aec6c6768534b1
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 250b8f8d2d..15d8ef1b3d 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2230,6 +2230,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 df5fc0a857..f1349d894a 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.
;;;
@@ -556,7 +557,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;
+
- 15/136: gnu: automake: Update to 1.17; fixes build with gcc-14., (continued)
- 15/136: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2025/01/01
- 17/136: gnu: automake-1.16.5: Skip tests., guix-commits, 2025/01/01
- 21/136: gnu: torsocks: Fix build with gcc-14., guix-commits, 2025/01/01
- 26/136: gnu: xmlto: Fix build with gcc-14., guix-commits, 2025/01/01
- 29/136: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2025/01/01
- 36/136: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2025/01/01
- 38/136: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2025/01/01
- 39/136: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2025/01/01
- 47/136: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2025/01/01
- 49/136: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2025/01/01
- 53/136: gnu: slim: Fix build with gcc-14.,
guix-commits <=
- 61/136: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2025/01/01
- 62/136: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2025/01/01
- 65/136: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2025/01/01
- 68/136: gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14., guix-commits, 2025/01/01
- 73/136: gnu: xfsprogs: Update to 6.12.0; fixes build with gcc-14., guix-commits, 2025/01/01
- 76/136: gnu: gtk+-2: Fix build with gcc-14., guix-commits, 2025/01/01
- 77/136: gnu: vala-0.52: Fix build with gcc-14., guix-commits, 2025/01/01
- 80/136: gnu: gdl-minimal: Fix build with gcc-14., guix-commits, 2025/01/01
- 78/136: gnu: samba/pinned: Update to 4.18.1; fixes build with gcc-14., guix-commits, 2025/01/01
- 81/136: gnu: emacs: Fix build with gcc-14., guix-commits, 2025/01/01