snipes: replace commit which doesn't belong to any branch with parent commit and recreate patch
This commit is contained in:
parent
4a3d942b06
commit
5d4a0aeee5
|
@ -13,13 +13,15 @@ in stdenv.mkDerivation {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Davidebyzero";
|
owner = "Davidebyzero";
|
||||||
repo = "Snipes";
|
repo = "Snipes";
|
||||||
rev = "343e14104b7848eb1f882401888e685b7918ef9f";
|
rev = "594af45108e07aa4159c3babc9b5e53609c3fd6e";
|
||||||
sha256 = "1rl70d5miak34warbwfv27z11vln4lvf7maqqc78z0gdc5zivdv2";
|
sha256 = "0gmh38swm74jmljy0bq27ipqzb4h8y9rzwc1j6harbd9qqz5knac";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substitute config-sample.h config.h \
|
substitute config-sample.h config.h \
|
||||||
--replace SnipesConsole.ttf $out/share/snipes/SnipesConsole.ttf
|
--replace SnipesConsole.ttf $out/share/snipes/SnipesConsole.ttf
|
||||||
|
substituteInPlace GNUmakefile \
|
||||||
|
--replace 'CFLAGS=-Werror -Wall' 'CFLAGS=-Wall'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in New Issue