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

apply GCC 14 compatibility patch
This commit is contained in:
Melvyn
2025-01-15 09:48:11 +05:30
committed by GitHub
parent 0bd024d34e
commit fcc6b7d70d
@@ -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