seafile-server: fix broken build on GCC 14 (#370753)
apply GCC 14 compatibility patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user