gd: 2.3.2 -> 2.3.3
This commit is contained in:
committed by
Jonathan Ringer
parent
35e41e6f89
commit
05eb41e468
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch
|
||||
{ lib, stdenv, fetchurl
|
||||
, autoconf
|
||||
, automake
|
||||
, pkg-config
|
||||
@@ -14,21 +14,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gd";
|
||||
version = "2.3.2";
|
||||
version = "2.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/libgd/libgd/releases/download/${pname}-${version}/libgd-${version}.tar.xz";
|
||||
sha256 = "1yypywkh8vphcy4qqpf51kxpb0a3r7rjqk3fc61rpn70hiq092j7";
|
||||
sha256 = "0qas3q9xz3wgw06dm2fj0i189rain6n60z1vyq50d5h7wbn25s1z";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2021-40812.partial.patch";
|
||||
url = "https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9.patch";
|
||||
sha256 = "11rvhd23bl05ksj8z39hwrhqqjm66svr4hl3y230wrc64rvnd2d2";
|
||||
})
|
||||
];
|
||||
|
||||
# -pthread gets passed to clang, causing warnings
|
||||
configureFlags = lib.optional stdenv.isDarwin "--enable-werror=no";
|
||||
|
||||
Reference in New Issue
Block a user