netsurf.libcss: 0.9.1 -> 0.9.2

https://www.netsurf-browser.org/projects/libcss/#changes-0.9.2

Also fixes building with clang, e.g. on darwin.
This commit is contained in:
Felix Albrigtsen 2024-01-30 22:08:00 +01:00
parent a07361dd1c
commit fb21e1e1c9

View File

@ -10,11 +10,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "netsurf-libcss";
version = "0.9.1";
version = "0.9.2";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/libcss-${finalAttrs.version}-src.tar.gz";
hash = "sha256-0tzhbpM5Lo1qcglCDUfC1Wo4EXAaDoGnJPxUHGPTxtw=";
hash = "sha256-LfIVu+w01R1gwaBLAbLfTV0Y9RDx86evS4DN21ZxFU4=";
};
nativeBuildInputs = [ pkg-config ];
@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-fallthrough"
"-Wno-error=maybe-uninitialized"
"-Wno-error=${if stdenv.cc.isGNU then "maybe-uninitialized" else "uninitialized"}"
];
meta = {