diff options
author | joerg <joerg> | 2011-09-08 13:53:45 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-09-08 13:53:45 +0000 |
commit | 6622e9a6c6b86ed4212fd6cfd443b13d69cc1354 (patch) | |
tree | 23533bb6609d46408723e5a1292349f5d156da3b /graphics/py-matplotlib-tk | |
parent | 568c3dbdcbd195bc4157d0a23939fbaba2056988 (diff) | |
download | pkgsrc-6622e9a6c6b86ed4212fd6cfd443b13d69cc1354.tar.gz |
Remote const-discarding accessor as done for py-matplotlib itself.
Diffstat (limited to 'graphics/py-matplotlib-tk')
-rw-r--r-- | graphics/py-matplotlib-tk/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-matplotlib-tk/patches/patch-agg24-include-agg_renderer_outline_aa.h | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/py-matplotlib-tk/distinfo b/graphics/py-matplotlib-tk/distinfo index 68f06ef2825..62f8d61a153 100644 --- a/graphics/py-matplotlib-tk/distinfo +++ b/graphics/py-matplotlib-tk/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2011/02/17 10:33:38 markd Exp $ +$NetBSD: distinfo,v 1.6 2011/09/08 13:53:46 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) = 611a55383e4d343f220f6bdb814629b22e70848d SHA1 (patch-ab) = 4bc5d9fa3d8f6236794c2e76f63f1bc45e3948ec +SHA1 (patch-agg24-include-agg_renderer_outline_aa.h) = fc7de9efc4563e75634947eac3c3a5a69441f2ce diff --git a/graphics/py-matplotlib-tk/patches/patch-agg24-include-agg_renderer_outline_aa.h b/graphics/py-matplotlib-tk/patches/patch-agg24-include-agg_renderer_outline_aa.h new file mode 100644 index 00000000000..f5018471dbe --- /dev/null +++ b/graphics/py-matplotlib-tk/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 13:53:46 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(); } |