libtapi: fix build with gcc 15
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
cmake,
|
||||
ninja,
|
||||
python3,
|
||||
@@ -57,6 +58,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./0001-Check-for-no_exported_symbols-linker-support.patch
|
||||
# Fix build on Linux. GCC is more picky than clang about the field order.
|
||||
./0003-Match-designator-order-with-declaration-order.patch
|
||||
# Add missing <cstdint> include for gcc 15.
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/llvm/llvm-project/commit/e2f25af711425fb238317582441f4bda56131891.patch?full_index=1";
|
||||
hash = "sha256-zJwl4aeX71UR7a8XHpKl4atbw+hEGCHOQmiFLIJirTY=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user