summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-09-08 13:53:45 +0000
committerjoerg <joerg@pkgsrc.org>2011-09-08 13:53:45 +0000
commit466e1f0bbd1596638b3ad720e7900d18cf117c5a (patch)
tree23533bb6609d46408723e5a1292349f5d156da3b /graphics
parent36167b73dc66615a26042e5d7dd81255fcf12962 (diff)
downloadpkgsrc-466e1f0bbd1596638b3ad720e7900d18cf117c5a.tar.gz
Remote const-discarding accessor as done for py-matplotlib itself.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-matplotlib-gtk2/distinfo3
-rw-r--r--graphics/py-matplotlib-gtk2/patches/patch-agg24-include-agg_renderer_outline_aa.h14
-rw-r--r--graphics/py-matplotlib-tk/distinfo3
-rw-r--r--graphics/py-matplotlib-tk/patches/patch-agg24-include-agg_renderer_outline_aa.h14
4 files changed, 32 insertions, 2 deletions
diff --git a/graphics/py-matplotlib-gtk2/distinfo b/graphics/py-matplotlib-gtk2/distinfo
index 302014a1bdf..0d8a3cc89d9 100644
--- a/graphics/py-matplotlib-gtk2/distinfo
+++ b/graphics/py-matplotlib-gtk2/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2011/02/17 10:33:38 markd Exp $
+$NetBSD: distinfo,v 1.7 2011/09/08 13:53:45 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-gtk2/patches/patch-agg24-include-agg_renderer_outline_aa.h b/graphics/py-matplotlib-gtk2/patches/patch-agg24-include-agg_renderer_outline_aa.h
new file mode 100644
index 00000000000..f5018471dbe
--- /dev/null
+++ b/graphics/py-matplotlib-gtk2/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(); }
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(); }