Unverified Commit fcc6b7d7 authored by Melvyn's avatar Melvyn Committed by GitHub
Browse files

seafile-server: fix broken build on GCC 14 (#370753)

apply GCC 14 compatibility patch
parent 0bd024d3
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  pkg-config,
  python3,
  autoreconfHook,
@@ -69,6 +70,14 @@ stdenv.mkDerivation {
    oniguruma
  ];

  patches = [
    # https://github.com/haiwen/seafile-server/pull/658
    (fetchpatch {
      url = "https://github.com/haiwen/seafile-server/commit/8029a11a731bfe142af43f230f47b93811ebaaaa.patch";
      hash = "sha256-AWNDXIyrKXgqgq3p0m8+s3YH8dKxWnf7uEMYzSsjmX4=";
    })
  ];

  postInstall = ''
    mkdir -p $out/share/seafile/sql
    cp -r scripts/sql $out/share/seafile