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
31
pkgs/development/tools/misc/ddd/default.nix
Normal file
31
pkgs/development/tools/misc/ddd/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{lib, stdenv, fetchurl, motif, ncurses, libX11, libXt}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ddd";
|
||||
version = "3.3.12";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0p5nx387857w3v2jbgvps2p6mlm0chajcdw5sfrddcglsxkwvmis";
|
||||
};
|
||||
buildInputs = [motif ncurses libX11 libXt];
|
||||
configureFlags = [ "--with-x" ];
|
||||
|
||||
patches = [
|
||||
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
|
||||
./gcc44.patch
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fpermissive";
|
||||
|
||||
postInstall = ''
|
||||
install -D icons/ddd.xpm $out/share/pixmaps/ddd.xpm
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/ddd";
|
||||
description = "Graphical front-end for command-line debuggers";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ emilytrau ];
|
||||
};
|
||||
}
|
||||
11
pkgs/development/tools/misc/ddd/gcc44.patch
Normal file
11
pkgs/development/tools/misc/ddd/gcc44.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
|
||||
--- a/ddd/strclass.C~ 2008-11-07 17:57:13.000000000 +0000
|
||||
+++ b/ddd/strclass.C 2008-11-07 17:57:27.000000000 +0000
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <new>
|
||||
+#include <cstdio>
|
||||
#include <stdlib.h>
|
||||
|
||||
void string::error(const char* msg) const
|
||||
Loading…
Add table
Add a link
Reference in a new issue