3
0
Fork 0
forked from mirrors/nixpkgs

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:
Jan Tojnar 2020-03-01 16:14:38 +01:00
parent 43ea7f1c0a
commit 7566c09a0c
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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'