Date: Wed, 30 Dec 2020 14:03:02 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252283] security/gpgme Message-ID: <bug-252283-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252283 Bug ID: 252283 Summary: security/gpgme Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jhale@FreeBSD.org Reporter: adridg@freebsd.org Assignee: jhale@FreeBSD.org Flags: maintainer-feedback?(jhale@FreeBSD.org) Created attachment 221102 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D221102&action= =3Dedit Fix constness The 1.15.0 release of gpgme-cpp adds a `Signature::operator<` which is miss= ing a const. In 6a6d2a27648, Signature got an operator< . This is used in *security/libkleo*, for instance, to sort the signatures for display. The build failure looks like this (trimmed for brevity, on 13-): =3D=3D=3D /usr/include/c++/v1/algorithm:715:71: error: invalid operands to binary=20 expression ('const GpgME::UserID::Signature' and 'const=20 GpgME::UserID::Signature') bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y= ;} /wrkdirs/usr/ports/security/libkleo/work/libkleo-20.12.0/src/models/ useridlistmodel.cpp:203:14: note: in instantiation of function template=20 specialization 'std::__1::sort<GpgME::UserID::Signature>' requested here std::sort(sigs.begin(), sigs.end()); =3D=3D=3D The attached patch has been submitted upstream as well. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252283-7788>