i810switch: fix build on gcc-14
This commit is contained in:
parent
1a6a455122
commit
9469c20cb8
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user