Unverified Commit 66112e6a authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

hotdoc: fix build with gcc15 (#446324)

parents 210bd4ba 4b90ae30
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 ];