adriconf: fix build with c23 (#474589)

This commit is contained in:
Aleksana
2025-12-27 16:29:15 +00:00
committed by GitHub
+6
View File
@@ -28,6 +28,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-0XTsYeS4tNAnGhuJ81fmjHhFS6fVq1lirui5b+ojxTQ=";
};
# fix build with c23
# error: 'uint16_t' does not name a type
postPatch = ''
sed -i '1i #include <cstdint>' adriconf/ValueObject/GPUInfo.h
'';
nativeBuildInputs = [
cmake
gettext # msgfmt