mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
libe57format: fix build for gcc11
This commit is contained in:
parent
62745b65f4
commit
0beb7ab9f4
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user