diff options
author | joerg <joerg@pkgsrc.org> | 2013-04-30 22:18:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-04-30 22:18:21 +0000 |
commit | dcbd6c1a67d41bef504171f26a37950bd6d1058c (patch) | |
tree | 75da8f59adf3d61c11406f5794c0aa939ccd4882 /editors/gobby/patches | |
parent | 0b05377bf46113f1bc0d5148629f47e64dd66453 (diff) | |
download | pkgsrc-dcbd6c1a67d41bef504171f26a37950bd6d1058c.tar.gz |
Add some const poison for stricter STL implementations.
Diffstat (limited to 'editors/gobby/patches')
-rw-r--r-- | editors/gobby/patches/patch-inc_preferencesdialog.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/gobby/patches/patch-inc_preferencesdialog.hpp b/editors/gobby/patches/patch-inc_preferencesdialog.hpp new file mode 100644 index 00000000000..a5063c6b86e --- /dev/null +++ b/editors/gobby/patches/patch-inc_preferencesdialog.hpp @@ -0,0 +1,13 @@ +$NetBSD: patch-inc_preferencesdialog.hpp,v 1.1 2013/04/30 22:18:21 joerg Exp $ + +--- inc/preferencesdialog.hpp.orig 2013-04-30 21:24:56.000000000 +0000 ++++ inc/preferencesdialog.hpp +@@ -198,7 +198,7 @@ public: + protected: + struct LangCompare + { +- bool operator()(GtkSourceLanguage* first, GtkSourceLanguage* second) ++ bool operator()(const GtkSourceLanguage* first, const GtkSourceLanguage* second) const + { + return first < second; + } |