Merge pull request #169834 from jonringer/fix-libe57format

libe57format: fix build for gcc11
This commit is contained in:
Niklas Hambüchen 2022-04-22 23:37:54 +02:00 committed by GitHub
commit c6fcb4f3a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{
lib, stdenv,
cmake,
fetchpatch,
fetchFromGitHub,
boost,
xercesc,
@ -18,6 +19,14 @@ stdenv.mkDerivation rec {
sha256 = "15l23spjvak5h3n7aj3ggy0c3cwcg8mvnc9jlbd9yc2ra43bx7bp";
};
patches = [
# gcc11 header fix
(fetchpatch {
url = "https://github.com/asmaloney/libE57Format/commit/13f6a16394ce3eb50ea4cd21f31f77f53294e8d0.patch";
sha256 = "sha256-4vVhKrCxnWO106DSAk+xxo4uk6zC89m9VQAPaDJ8Ed4=";
})
];
nativeBuildInputs = [
cmake
];