summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-08-01 14:13:47 +0200
committerAndreas Enge <andreas@enge.fr>2025-08-01 14:19:53 +0200
commit98902924efc8b63e782267a8225bf7e8d77a1eb6 (patch)
treee2c865b6c994cb0f79168702bb7dedc6d58b11cc /gnu/packages
parent0587006ab1b5668aed0e762d40980fbe8c094470 (diff)
gnu: scsh: Fix build with gcc-14.
* gnu/packages/shells.scm (scsh)[arguments]<#:phases>{fix-includes}: New phase. Change-Id: I98d6d09e73ef4e99cc4a67cf5ec6d6ea56e82338
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/shells.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index a7984703878..2bfa4e83aff 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -684,7 +684,16 @@ use of experts and novices alike.")
684 #$(package-version scheme48) 684 #$(package-version scheme48)
685 "/rx"))) 685 "/rx")))
686 (delete-file-recursively "rx") 686 (delete-file-recursively "rx")
687 (symlink rxpath "rx"))))))) 687 (symlink rxpath "rx"))))
688 (add-after 'replace-rx 'fix-includes
689 (lambda _
690 (with-directory-excursion "c"
691 (substitute* "syscalls.c"
692 (("#include <stdlib.h>" all)
693 (string-append all "\n#include <time.h>")))
694 (substitute* "tty.c"
695 (("#include <termios.h>" all)
696 (string-append all "\n#include <pty.h>")))))))))
688 (inputs 697 (inputs
689 (list scheme48 scheme48-rx)) 698 (list scheme48 scheme48-rx))
690 (native-inputs 699 (native-inputs