about summary refs log tree commit diff
path: root/pkgs/applications/office/libreoffice
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-08-03 20:45:03 +0200
committerVladimír Čunát <v@cunat.cz>2023-08-03 20:45:28 +0200
commitbf170fec12fadd65070e190c0abbe1cca933b5a7 (patch)
tree01fc02f7ff545cd5000b32d31a4c9437711969da /pkgs/applications/office/libreoffice
parente13e3f4c544dae075c27074345d9d61c93478210 (diff)
libreoffice*: fixup build with curl-8.2.0
Diffstat (limited to 'pkgs/applications/office/libreoffice')
-rw-r--r--pkgs/applications/office/libreoffice/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix
index 70df53f1eb6b1..bec44b0b7ff3c 100644
--- a/pkgs/applications/office/libreoffice/default.nix
+++ b/pkgs/applications/office/libreoffice/default.nix
@@ -1,5 +1,6 @@
 { stdenv
 , fetchurl
+, fetchpatch
 , lib
 , substituteAll
 , pam
@@ -220,6 +221,12 @@ in
   # for 7.4.
   patches = lib.optionals (lib.versionAtLeast version "7.5") [
     ./0001-Strip-away-BUILDCONFIG.patch
+  ] ++ [
+    (fetchpatch {
+      name = "fix-curl-8.2.patch";
+      url = "https://github.com/LibreOffice/core/commit/2a68dc02bd19a717d3c86873206fabed1098f228.diff";
+      hash = "sha256-C+kts+oaLR3+GbnX/wrFguF7SzgerNataxP0SPxhyY8=";
+    })
   ];
 
   # libreoffice tries to reference the BUILDCONFIG (e.g. PKG_CONFIG_PATH)