~ruther/guix-local

3a56cc1c6300a578d357323df746650c386a9b24 — Liliana Marie Prikler 10 months ago 9d1875b
gnu: stepmania: Fix build with GCC 14.

* gnu/packages/video.scm (ffmpeg-for-stepmania)[source]: Add snippet to
include <ctime> header.

Signed-off-by: Zheng Junjie <z572@z572.online>
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/games.scm
M gnu/packages/games.scm => gnu/packages/games.scm +4 -1
@@ 10151,7 10151,10 @@ via the in-game download manager.")
           (substitute* "extern/CMakeLists.txt"
             (("include\\(CMakeProject-png.cmake\\)") ""))
           (delete-file-recursively "extern/libpng")
           #t))))
           ;; Include missing <ctime> header.
           (substitute* "src/arch/ArchHooks/ArchHooks.h"
             (("#define ARCH_HOOKS_H" all)
              (string-append all "\n#include <ctime> // struct tm")))))))
    (build-system cmake-build-system)
    (arguments
     `(#:tests? #f                      ;FIXME: couldn't find how to run tests