mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-27 19:35:10 -06:00
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
This commit is contained in:
parent
2e21c4bd6b
commit
59fb60572b
3 changed files with 16 additions and 1 deletions
|
|
@ -2295,6 +2295,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 \
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
;;;
|
||||
|
|
@ -712,7 +713,8 @@ in config.h of lightdm-tiny-greeter."
|
|||
(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
|
||||
|
|
|
|||
12
gnu/packages/patches/slim-gcc-14.patch
Normal file
12
gnu/packages/patches/slim-gcc-14.patch
Normal file
|
|
@ -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;
|
||||
|
||||
Loading…
Add table
Reference in a new issue