i810switch: fix build on gcc-14

This commit is contained in:
Moraxyc 2025-02-22 21:04:50 +08:00
parent 1a6a455122
commit 9469c20cb8
No known key found for this signature in database

View File

@ -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";