libreoffice*: fixup build with curl-8.2.0

This commit is contained in:
Vladimír Čunát 2023-08-03 20:45:03 +02:00
parent e13e3f4c54
commit bf170fec12
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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)