FreeBSD Bugzilla – Attachment 221102 Details for
Bug 252283
security/gpgme: fix constness
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix constness
patch-gpgme (text/plain), 1.83 KB, created by
Adriaan de Groot
on 2020-12-30 14:03:02 UTC
(
hide
)
Description:
Fix constness
Filename:
MIME Type:
Creator:
Adriaan de Groot
Created:
2020-12-30 14:03:02 UTC
Size:
1.83 KB
patch
obsolete
>Index: security/gpgme/Makefile >=================================================================== >--- security/gpgme/Makefile (revision 559661) >+++ security/gpgme/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= gpgme > PORTVERSION= 1.15.0 >-PORTREVISION?= 0 >+PORTREVISION?= 1 > CATEGORIES?= security > MASTER_SITES= GNUPG/gpgme > >Index: security/gpgme/files/patch-git-key.h >=================================================================== >--- security/gpgme/files/patch-git-key.h (nonexistent) >+++ security/gpgme/files/patch-git-key.h (working copy) >@@ -0,0 +1,29 @@ >+The operator< should be const, so it can be applied to const Signatures. >+This fixes a build failure in security/libkleo. >+ >+diff --git lang/cpp/src/key.cpp lang/cpp/src/key.cpp >+index e536d080..7411e9e4 100644 >+--- lang/cpp/src/key.cpp >++++ lang/cpp/src/key.cpp >+@@ -865,7 +865,7 @@ UserID::Signature::Signature(const shared_gpgme_key_t &k, gpgme_user_id_t u, gpg >+ { >+ } >+ >+-bool UserID::Signature::operator<(const Signature &other) >++bool UserID::Signature::operator<(const Signature &other) const >+ { >+ // based on cmp_signodes() in g10/keylist.c >+ >+diff --git lang/cpp/src/key.h lang/cpp/src/key.h >+index a7931672..57001a03 100644 >+--- lang/cpp/src/key.h >++++ lang/cpp/src/key.h >+@@ -468,7 +468,7 @@ public: >+ } >+ >+ /*! Defines a canonical sort order for signatures of the same user ID. */ >+- bool operator<(const Signature &other); >++ bool operator<(const Signature &other) const; >+ >+ bool isNull() const >+ { > >Property changes on: security/gpgme/files/patch-git-key.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252283
: 221102