Merge pull request #250317 from trofi/limesuite-gcc-13-fix

limesuite: pull gcc-13 fix pending upstream inclusion
This commit is contained in:
markuskowa 2023-08-20 17:51:44 +02:00 committed by GitHub
commit 7267429af3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake
, fetchpatch
, sqlite, wxGTK32, libusb1, soapysdr
, mesa_glu, libX11, gnuplot, fltk
, GLUT
@ -16,6 +17,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-t3v2lhPZ1L/HRRBwA3k1KfIpih6R4TUmBWaIm8sVGdY=";
};
patches = [
# Pull gcc-13 fix pending upstream inclusion:
# https://github.com/myriadrf/LimeSuite/pull/384
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/myriadrf/LimeSuite/commit/4ab51835d0fde4ffe6b7be2ac3dfa915e7d4d26e.patch";
hash = "sha256-53nLeluMtTPXxchbpftPE8Z1QMyi0UKp+0nRF4ufUgo=";
})
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [