From b39b63aaa7dc6c9b851fc4c3c1f2a293e8748987 Mon Sep 17 00:00:00 2001 From: 7c6f434c <7c6f434c@mail.ru> Date: Sat, 3 Jan 2026 23:42:31 +0100 Subject: [PATCH] liquidwar: set std=gnu17 to fix build with gcc15 --- pkgs/by-name/li/liquidwar/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/liquidwar/package.nix b/pkgs/by-name/li/liquidwar/package.nix index 05f7349bf995..ce25267d5fdc 100644 --- a/pkgs/by-name/li/liquidwar/package.nix +++ b/pkgs/by-name/li/liquidwar/package.nix @@ -26,6 +26,8 @@ csound, cunit, pkg-config, + libGL, + libGLU, }: stdenv.mkDerivation rec { @@ -61,6 +63,8 @@ stdenv.mkDerivation rec { cunit libtool readline + libGL + libGLU ]; nativeBuildInputs = [ pkg-config ]; @@ -72,6 +76,7 @@ stdenv.mkDerivation rec { # Needed with GCC 12 but problematic with some old GCCs "-Wno-error=address" "-Wno-error=use-after-free" + "-std=gnu17" ] ++ [ "-Wno-error=deprecated-declarations"