pforth: fix build with patch

patch from upstream fixes build with gnumake>=4.3
This commit is contained in:
Robert Scott 2020-09-15 22:55:01 +01:00
parent 5a9358ce26
commit 7621c8b1fc

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation {
version = "28";
@ -10,6 +10,14 @@ stdenv.mkDerivation {
sha256 = "0k3pmcgybsnwrxy75piyb2420r8d4ij190606js32j99062glr3x";
};
patches = [
(fetchpatch {
name = "gnumake-4.3-fix.patch";
url = "https://github.com/philburk/pforth/commit/457cb99f57292bc855e53abcdcb7b12d6681e847.patch";
sha256 = "0x1bwx3pqb09ddjhmdli47lnk1ys4ny42819g17kfn8nkjs5hbx7";
})
];
makeFlags = [ "SRCDIR=." ];
makefile = "build/unix/Makefile";