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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
stdenv.mkDerivation rec {
pname = "darcnes";
version = "9b0401";
src = fetchurl {
url = "https://web.archive.org/web/20130511081532/http://www.dridus.com/~nyef/darcnes/download/dn${version}.tgz";
sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3";
};
patches = [ ./label.patch ];
buildInputs = [ libX11 libXt libXext libXaw ];
installPhase = "install -Dt $out/bin darcnes";
meta = {
homepage = "https://web.archive.org/web/20130502171725/http://www.dridus.com/~nyef/darcnes/";
description = "Sega Master System, Game Gear, SG-1000, NES, ColecoVision and Apple II emulator";
# Prohibited commercial use, credit required.
license = lib.licenses.free;
platforms = [ "i686-linux" ];
};
}

View file

@ -0,0 +1,13 @@
http://gentoo-overlays.zugaina.org/funtoo/portage/games-emulation/darcnes/files/darcnes-0401-exec-stack.patch
diff -Naur old/video_x.c new/video_x.c
--- old/video_x.c 2004-09-04 01:26:41.102187277 +0200
+++ new/video_x.c 2004-09-04 01:27:51.586427427 +0200
@@ -366,6 +366,7 @@
}
default:
+ break;
}
}