From 9469c20cb8246fb8c83221e8035c98842a766af1 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Sat, 22 Feb 2025 21:04:50 +0800 Subject: [PATCH] i810switch: fix build on gcc-14 --- pkgs/by-name/i8/i810switch/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/i8/i810switch/package.nix b/pkgs/by-name/i8/i810switch/package.nix index 0291c249274b..250465601c35 100644 --- a/pkgs/by-name/i8/i810switch/package.nix +++ b/pkgs/by-name/i8/i810switch/package.nix @@ -21,6 +21,11 @@ stdenv.mkDerivation { sha256 = "d714840e3b14e1fa9c432c4be0044b7c008d904dece0d611554655b979cad4c3"; }; + # Ignore errors since gcc-14. + # i810switch.c:251:34: error: passing argument 2 of 'getline' from incompatible pointer type [-Wincompatible-pointer-types] + # i810switch.c:296:34: error: passing argument 2 of 'getline' from incompatible pointer type [-Wincompatible-pointer-types] + env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; + meta = with lib; { description = "Utility for switching between the LCD and external VGA display on Intel graphics cards"; homepage = "http://www16.plala.or.jp/mano-a-mano/i810switch.html";