uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/games/crrcsim/default.nix
Normal file
28
pkgs/games/crrcsim/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
|
||||
let
|
||||
version = "0.9.13";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crrcsim";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/crrcsim/${pname}-${version}.tar.gz";
|
||||
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libGLU libGL SDL SDL_mixer plib libjpeg
|
||||
];
|
||||
|
||||
patches = [
|
||||
./gcc6.patch
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A model-airplane flight simulator";
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
13
pkgs/games/crrcsim/gcc6.patch
Normal file
13
pkgs/games/crrcsim/gcc6.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git c/src/mod_video/crrc_animation.cpp i/src/mod_video/crrc_animation.cpp
|
||||
index ee7d7f4..855b106 100644
|
||||
--- c/src/mod_video/crrc_animation.cpp
|
||||
+++ i/src/mod_video/crrc_animation.cpp
|
||||
@@ -84,7 +84,7 @@ void createAnimation(SimpleXMLTransfer *animation, ssgEntity* model)
|
||||
else
|
||||
{
|
||||
std::cerr << "createAnimation: unknown animation type \'"
|
||||
- << type << "\'" << std::cerr;
|
||||
+ << type << "\'" << std::endl;
|
||||
}
|
||||
|
||||
if (anim != NULL)
|
||||
Loading…
Add table
Add a link
Reference in a new issue