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:
parent
a07361dd1c
commit
fb21e1e1c9
@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "netsurf-libcss";
|
pname = "netsurf-libcss";
|
||||||
version = "0.9.1";
|
version = "0.9.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.netsurf-browser.org/libs/releases/libcss-${finalAttrs.version}-src.tar.gz";
|
url = "http://download.netsurf-browser.org/libs/releases/libcss-${finalAttrs.version}-src.tar.gz";
|
||||||
hash = "sha256-0tzhbpM5Lo1qcglCDUfC1Wo4EXAaDoGnJPxUHGPTxtw=";
|
hash = "sha256-LfIVu+w01R1gwaBLAbLfTV0Y9RDx86evS4DN21ZxFU4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString [
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
"-Wno-error=implicit-fallthrough"
|
"-Wno-error=implicit-fallthrough"
|
||||||
"-Wno-error=maybe-uninitialized"
|
"-Wno-error=${if stdenv.cc.isGNU then "maybe-uninitialized" else "uninitialized"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user