gdb: 8.1.1 -> 8.2 (#50444)
This commit is contained in:
committed by
Orivej Desh (NixOS)
parent
d690ccee63
commit
471f1be718
@@ -1,7 +1,7 @@
|
||||
{ stdenv
|
||||
|
||||
# Build time
|
||||
, fetchurl, pkgconfig, perl, texinfo, setupDebugInfoDirs
|
||||
, fetchurl, fetchpatch, pkgconfig, perl, texinfo, setupDebugInfoDirs
|
||||
|
||||
# Run time
|
||||
, ncurses, readline, gmp, mpfr, expat, zlib, dejagnu
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
let
|
||||
basename = "gdb-${version}";
|
||||
version = "8.1.1";
|
||||
version = "8.2";
|
||||
in
|
||||
|
||||
assert pythonSupport -> python != null;
|
||||
@@ -26,11 +26,20 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/gdb/${basename}.tar.xz";
|
||||
sha256 = "0g6hv9xk12aa58w77fydaldqr9a6b0a6bnwsq87jfc6lkcbc7p4p";
|
||||
sha256 = "0fbw6j4z7kmvywwgavn7w3knp860i5i9qnjffc5p52bwkji43963";
|
||||
};
|
||||
|
||||
patches = [ ./debug-info-from-env.patch ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./darwin-target-match.patch;
|
||||
patches = [
|
||||
./debug-info-from-env.patch
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
./darwin-target-match.patch
|
||||
(fetchpatch {
|
||||
name = "gdb-aarch64-linux-tdep.patch";
|
||||
url = "https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=0c0a40e0abb9f1a584330a1911ad06b3686e5361";
|
||||
excludes = [ "gdb/ChangeLog" ];
|
||||
sha256 = "16zjw99npyapj68sw52xzmbw671ajm9xv7g5jxfmp94if5y91mnj";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig texinfo perl setupDebugInfoDirs ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user