hotdoc: fix build with gcc15 (#446324)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonApplication,
|
||||
fetchpatch,
|
||||
fetchPypi,
|
||||
replaceVars,
|
||||
clang,
|
||||
@@ -45,6 +46,13 @@ buildPythonApplication rec {
|
||||
clang = lib.getExe clang;
|
||||
libclang = "${lib.getLib libclang}/lib/libclang${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
})
|
||||
|
||||
# Fix build with gcc15
|
||||
(fetchpatch {
|
||||
name = "hotdoc-fix-c_comment_scanner-function-prototypes-gcc15.patch";
|
||||
url = "https://github.com/hotdoc/hotdoc/commit/adf8518431fafb78c9b47862a0a9a58824b6a421.patch";
|
||||
hash = "sha256-5y50Yk+AjV3aSk8H3k9od/Yvy09FyQQOcVOAcstQnw8=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user