mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #261251 from trofi/nxpmicro-mfgtools-gcc-13-fix
nxpmicro-mfgtools: pull upstream fix for gcc-13
This commit is contained in:
commit
8055e6795e
@ -1,5 +1,6 @@
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, pkg-config
|
||||
, bzip2
|
||||
@ -21,6 +22,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-f9Nt303xXZzLSu3GtOEpyaL91WVFUmKO7mxi8UNX3go=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Backport upstream fix for gcc-13 support:
|
||||
# https://github.com/nxp-imx/mfgtools/pull/360
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/nxp-imx/mfgtools/commit/24fd043225903247f71ac10666d820277c0b10b1.patch";
|
||||
hash = "sha256-P7n6+Tiz10GIQ7QOd/qQ3BI7Wo5/66b0EwjFSpOUSJg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
|
||||
|
||||
buildInputs = [ bzip2 libusb1 libzip openssl zstd ];
|
||||
|
Loading…
Reference in New Issue
Block a user