Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2023 17:11:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 271846] textproc/clucene: apply gentoo patch for C++17 conformance
Message-ID:  <bug-271846-25061-mjfBEfMPni@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271846-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271846-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D271846



--- 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 >=3D 16 or gcc >=3D 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271846-25061-mjfBEfMPni>