mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
netpbm: Remove "CVE" patch
The CVE was patched upstream long ago. http://cve.circl.lu/cve/CVE-2005-2471 -dPARANOIDSAFER seems not to be supported any more. https://phabricator.wikimedia.org/T136402#2338482 https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79a06b45e784e6839b2b2129cd2620ea606254e1
This commit is contained in:
parent
43ea7f1c0a
commit
7566c09a0c
@ -28,10 +28,6 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# CVE-2005-2471, from Arch
|
||||
substituteInPlace converter/other/pstopnm.c \
|
||||
--replace '"-dSAFER"' '"-dPARANOIDSAFER"'
|
||||
|
||||
# Install libnetpbm.so symlink to correct destination
|
||||
substituteInPlace lib/Makefile \
|
||||
--replace '/sharedlink' '/lib'
|
||||
|
Loading…
Reference in New Issue
Block a user