From e24c0a337c205c9df5dacf6a9690d7aa0cdfd339 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 4 Feb 2024 19:18:22 +0000 Subject: [PATCH] libretro.play: workaround issue with GCC13 --- pkgs/applications/emulators/retroarch/cores.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 6bc6d4ecc2c7..ef6096b4c4b2 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -828,6 +828,9 @@ in makefile = "Makefile"; cmakeFlags = [ "-DBUILD_PLAY=OFF" "-DBUILD_LIBRETRO_CORE=ON" ]; postBuild = "cd Source/ui_libretro"; + # FIXME: workaround the following GCC 13 error: + # error: 'printf' was not declared in this scop + CXXFLAGS = "-include cstdio"; meta = { description = "Port of Play! to libretro"; license = lib.licenses.bsd2;