mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 18:54:42 +00:00
sympow: avoid undefined behaviour by increasing buffer size
This commit is contained in:
parent
7371818c6e
commit
96f13f9193
@ -1,5 +1,6 @@
|
||||
{ lib, stdenv
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, makeWrapper
|
||||
, which
|
||||
, autoconf
|
||||
@ -20,7 +21,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "132l0xv00ld1svvv9wh99wfra4zzjv2885h2sq0dsl98wiyvi5zl";
|
||||
};
|
||||
|
||||
patches = [ ./clean-extra-logfile-output-from-pari.patch ];
|
||||
patches = [
|
||||
./clean-extra-logfile-output-from-pari.patch
|
||||
(fetchpatch {
|
||||
name = "null-terminate-dupdirname.patch";
|
||||
url = "https://gitlab.com/rezozer/forks/sympow/-/merge_requests/5.diff";
|
||||
sha256 = "sha256-yKjio+qN9teL8L+mb7WOBN/iv545vRIxW20FJU37oO4=";
|
||||
})
|
||||
];
|
||||
|
||||
postUnpack = ''
|
||||
patchShebangs .
|
||||
|
Loading…
Reference in New Issue
Block a user