HomeFreeBSD

textproc/clucene: apply gentoo patch for C++17 conformance

Description

textproc/clucene: apply gentoo patch for C++17 conformance

Some parts of CLucene use std::binary_function, which was deprecated in
C++11, and has been completely removed as of C++17. This shows up while
building libreoffice with clang >= 16 or gcc >= 11, because C++17 is the
default standard now.

Apply a diff from https://bugs.gentoo.org/869170 that fixes this, by
removing usage of std::binary_function, and replacing it with typedefs.

PR: 271846
Approved by: fluffy (maintainer)
MFH: 2023Q2

Details

Provenance
dimAuthored on Jun 5 2023, 5:10 PM
Parents
R11:01600e6229a9: www/py-cachecontrol: Remove unnecessary target
Branches
Unknown
Tags
Unknown