maintainer-feedback requested: [Bug 271846] textproc/clucene: apply gentoo patch for C++17 conformance

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jun 2023 17:11:30 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked FreeBSD Office Team
<office@FreeBSD.org> for maintainer-feedback:
Bug 271846: textproc/clucene: apply gentoo patch for C++17 conformance
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271846



--- Description ---
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.