parent
d3b47f1556
commit
c60cafa719
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mcpp";
|
pname = "mcpp";
|
||||||
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [ "--enable-mcpplib" ];
|
configureFlags = [ "--enable-mcpplib" ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2019-14274.patch";
|
||||||
|
url = "https://github.com/h8liu/mcpp/commit/ea453aca2742be6ac43ba4ce0da6f938a7e5a5d8.patch";
|
||||||
|
sha256 = "0svkdr3w9b45v6scgzvggw9nsh6a3k7g19fqk0w3vlckwmk5ydzr";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://mcpp.sourceforge.net/";
|
homepage = "http://mcpp.sourceforge.net/";
|
||||||
description = "A portable c preprocessor";
|
description = "A portable c preprocessor";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user