[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271846

            Bug ID: 271846
           Summary: textproc/clucene: apply gentoo patch for C++17
                    conformance
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(office@FreeBSD.org)
          Assignee: office@FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.