From 07a8255f11c53e3cf0a7829a2375d5bb4723f1df Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 4 May 2013 12:46:01 +0000 Subject: Do not declare key arguments const, if the arguments are supposed to be copy constructable. --- graphics/extrema/distinfo | 5 ++++- graphics/extrema/patches/patch-src_Expression_Expression.h | 13 +++++++++++++ .../extrema/patches/patch-src_Variables_NVariableTable.h | 13 +++++++++++++ .../extrema/patches/patch-src_Variables_TVariableTable.h | 13 +++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 graphics/extrema/patches/patch-src_Expression_Expression.h create mode 100644 graphics/extrema/patches/patch-src_Variables_NVariableTable.h create mode 100644 graphics/extrema/patches/patch-src_Variables_TVariableTable.h (limited to 'graphics/extrema') diff --git a/graphics/extrema/distinfo b/graphics/extrema/distinfo index 7f3d6334afc..b7491cdda6f 100644 --- a/graphics/extrema/distinfo +++ b/graphics/extrema/distinfo @@ -1,9 +1,12 @@ -$NetBSD: distinfo,v 1.5 2012/11/23 12:29:15 joerg Exp $ +$NetBSD: distinfo,v 1.6 2013/05/04 12:46:01 joerg Exp $ SHA1 (extrema-4.4.4.tar.gz) = eff38eb3c36aa9acc3ad471ea57f2037c66e1842 RMD160 (extrema-4.4.4.tar.gz) = 4ce6dcacca51ac18deb770cd9c0f7f77d0458ccd Size (extrema-4.4.4.tar.gz) = 6404330 bytes +SHA1 (patch-src_Expression_Expression.h) = 7c6101f9eff147cacfca5ba581785b5c72826894 SHA1 (patch-src_Graphics_GRA__thiessenTriangulation_h) = ede808bc2f19f3aafb31310eb04aa5317ad9b471 +SHA1 (patch-src_Variables_NVariableTable.h) = b15ef23916559b714b75d3867c39735e70ad6cbc +SHA1 (patch-src_Variables_TVariableTable.h) = 94783b18d48e369a457e65e50d1ff227eb5aa8d8 SHA1 (patch-src_wxForms_AxisPopup.cpp) = 8b96ab1d88f5abfaa6d45562bc02c990b8143a48 SHA1 (patch-src_wxForms_FontChooser.cpp) = bc6a979c8d693347efdf581653008a62abce149a SHA1 (patch-src_wxForms_LegendPopup.cpp) = 51491d6fe345c380dda6044d4c463d9f8da5fe49 diff --git a/graphics/extrema/patches/patch-src_Expression_Expression.h b/graphics/extrema/patches/patch-src_Expression_Expression.h new file mode 100644 index 00000000000..227c97cf9f4 --- /dev/null +++ b/graphics/extrema/patches/patch-src_Expression_Expression.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Expression_Expression.h,v 1.1 2013/05/04 12:46:01 joerg Exp $ + +--- src/Expression/Expression.h.orig 2013-05-03 20:24:01.000000000 +0000 ++++ src/Expression/Expression.h +@@ -37,7 +37,7 @@ class Workspace; + class Expression + { + private: +- typedef std::multimap< int const, Workspace* > WSLevel; ++ typedef std::multimap< int, Workspace* > WSLevel; + typedef WSLevel::value_type WSEntryType; + typedef std::pair< WSLevel::const_iterator, WSLevel::const_iterator > WSLevelPair; + typedef std::pair< int const, Workspace* > WSLevelValuePair; diff --git a/graphics/extrema/patches/patch-src_Variables_NVariableTable.h b/graphics/extrema/patches/patch-src_Variables_NVariableTable.h new file mode 100644 index 00000000000..8b9189237ca --- /dev/null +++ b/graphics/extrema/patches/patch-src_Variables_NVariableTable.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Variables_NVariableTable.h,v 1.1 2013/05/04 12:46:01 joerg Exp $ + +--- src/Variables/NVariableTable.h.orig 2013-05-03 20:13:43.000000000 +0000 ++++ src/Variables/NVariableTable.h +@@ -28,7 +28,7 @@ class NumericVariable; + class NVariableTable + { + private: +- typedef std::map NVariableMap; ++ typedef std::map NVariableMap; + typedef NVariableMap::value_type entry_type; + + // NVariableTable is the table of pointers to NumericVariables diff --git a/graphics/extrema/patches/patch-src_Variables_TVariableTable.h b/graphics/extrema/patches/patch-src_Variables_TVariableTable.h new file mode 100644 index 00000000000..c5a52f8e190 --- /dev/null +++ b/graphics/extrema/patches/patch-src_Variables_TVariableTable.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Variables_TVariableTable.h,v 1.1 2013/05/04 12:46:01 joerg Exp $ + +--- src/Variables/TVariableTable.h.orig 2013-05-03 20:09:16.000000000 +0000 ++++ src/Variables/TVariableTable.h +@@ -27,7 +27,7 @@ class TextVariable; + class TVariableTable + { + private: +- typedef std::map< wxString const, TextVariable* > TVariableMap; ++ typedef std::map< wxString, TextVariable* > TVariableMap; + typedef TVariableMap::value_type entry_type; + + // TVariableTable is the table of pointers to TextVariables -- cgit v1.2.3