xcur2png: add "fix wrong math" patch
This commit is contained in:
parent
4cf65dda7b
commit
25988a2f35
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
libpng,
|
||||
xorg,
|
||||
@ -21,6 +22,12 @@ stdenv.mkDerivation rec {
|
||||
patches = [
|
||||
# https://github.com/eworm-de/xcur2png/pull/3
|
||||
./malloc.diff
|
||||
|
||||
# fix byte overflows due to off-by-one error
|
||||
(fetchpatch {
|
||||
url = "https://github.com/eworm-de/xcur2png/commit/aa035462d950fab35d322cb87fd2f0d702251e82.patch";
|
||||
hash = "sha256-hlmJ/bcDSl1ADs0jp+JrAgAaMzielUSRVPad+plnSZg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user