diff options
author | joerg <joerg@pkgsrc.org> | 2011-09-08 00:13:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-09-08 00:13:31 +0000 |
commit | d2f33df15a4238cccc841cd9b61124e559213ac4 (patch) | |
tree | c046787bd5954998fc2db2da010ca32714d5e48f /graphics/py-matplotlib | |
parent | 6d007e6aae47c896a1126d4b98fed48d8e12d2e6 (diff) | |
download | pkgsrc-d2f33df15a4238cccc841cd9b61124e559213ac4.tar.gz |
Fix compilation with clang by removing const-violating accessor.
Diffstat (limited to 'graphics/py-matplotlib')
-rw-r--r-- | graphics/py-matplotlib/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-matplotlib/patches/patch-agg24-include-agg_renderer_outline_aa.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/py-matplotlib/distinfo b/graphics/py-matplotlib/distinfo index 545520c694a..28a3c7a3cc7 100644 --- a/graphics/py-matplotlib/distinfo +++ b/graphics/py-matplotlib/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.13 2011/02/17 10:33:37 markd Exp $ +$NetBSD: distinfo,v 1.14 2011/09/08 00:13:31 joerg Exp $ SHA1 (matplotlib-1.0.1.tar.gz) = c7a832f28a66817626e7a8af21e14ea0e15f4008 RMD160 (matplotlib-1.0.1.tar.gz) = e3e326f7f31ef995253da483444cb593b8e6753b Size (matplotlib-1.0.1.tar.gz) = 13285166 bytes SHA1 (patch-aa) = 9e43860c70b8632aa96be68a95f34720ce0ee34a SHA1 (patch-ab) = 2c85ef7b1aa9b9a317dd4fbfc7a69921d2241c2f +SHA1 (patch-agg24-include-agg_renderer_outline_aa.h) = fc7de9efc4563e75634947eac3c3a5a69441f2ce diff --git a/graphics/py-matplotlib/patches/patch-agg24-include-agg_renderer_outline_aa.h b/graphics/py-matplotlib/patches/patch-agg24-include-agg_renderer_outline_aa.h new file mode 100644 index 00000000000..23835f9fa2a --- /dev/null +++ b/graphics/py-matplotlib/patches/patch-agg24-include-agg_renderer_outline_aa.h @@ -0,0 +1,14 @@ +$NetBSD: patch-agg24-include-agg_renderer_outline_aa.h,v 1.1 2011/09/08 00:13:31 joerg Exp $ + +Don't leak non-const reference to const private member. + +--- agg24/include/agg_renderer_outline_aa.h.orig 2011-09-07 14:29:12.000000000 +0000 ++++ agg24/include/agg_renderer_outline_aa.h +@@ -1365,7 +1365,6 @@ namespace agg + //--------------------------------------------------------------------- + void profile(const line_profile_aa& prof) { m_profile = &prof; } + const line_profile_aa& profile() const { return *m_profile; } +- line_profile_aa& profile() { return *m_profile; } + + //--------------------------------------------------------------------- + int subpixel_width() const { return m_profile->subpixel_width(); } |