summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-25 22:04:43 +0000
committerjoerg <joerg>2011-11-25 22:04:43 +0000
commitc4287c1debdf8f4afa5bb7818a4040cb3dda2b3a (patch)
treef77f237897adb1946626ecc2b2fec8701c88cf7b /math
parentb99861a7f58336287ff168fe96fe59b65b6aa0d7 (diff)
downloadpkgsrc-c4287c1debdf8f4afa5bb7818a4040cb3dda2b3a.tar.gz
Fix C++
Diffstat (limited to 'math')
-rw-r--r--math/aamath/distinfo4
-rw-r--r--math/aamath/patches/patch-expr.cc22
-rw-r--r--math/aamath/patches/patch-expr.h22
3 files changed, 47 insertions, 1 deletions
diff --git a/math/aamath/distinfo b/math/aamath/distinfo
index ab0d005abc0..4c4ce0995fd 100644
--- a/math/aamath/distinfo
+++ b/math/aamath/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/09/05 17:32:40 asau Exp $
+$NetBSD: distinfo,v 1.2 2011/11/25 22:04:43 joerg Exp $
SHA1 (aamath-0.3.tar.gz) = dc68abaf2131c73ddb1a520c95d65596e30f1b0a
RMD160 (aamath-0.3.tar.gz) = 396ce7213a30a5c133dc964e2a531fe28a24b6c0
Size (aamath-0.3.tar.gz) = 21894 bytes
+SHA1 (patch-expr.cc) = efe3ee16970325c770c8e8e2fe200bbfada0cc1c
+SHA1 (patch-expr.h) = 3d0382a90b8c88f18a639d87e7cc1253fafda4fb
diff --git a/math/aamath/patches/patch-expr.cc b/math/aamath/patches/patch-expr.cc
new file mode 100644
index 00000000000..54ce995f6e2
--- /dev/null
+++ b/math/aamath/patches/patch-expr.cc
@@ -0,0 +1,22 @@
+$NetBSD: patch-expr.cc,v 1.1 2011/11/25 22:04:43 joerg Exp $
+
+--- expr.cc.orig 2011-11-25 13:49:36.000000000 +0000
++++ expr.cc
+@@ -1192,7 +1192,7 @@ IntegralOnInterval::render_head() const
+
+ class SumSymbol : public OpSymbol {
+ public:
+- void render(Canvas& c, int r, int c) const;
++ void render(Canvas& canvas, int r, int c) const;
+ };
+
+ void
+@@ -1208,7 +1208,7 @@ SumSymbol::render(Canvas& canvas, int r,
+
+ class ProductSymbol : public OpSymbol {
+ public:
+- void render(Canvas& c, int r, int c) const;
++ void render(Canvas& canvas, int r, int c) const;
+ };
+
+ void
diff --git a/math/aamath/patches/patch-expr.h b/math/aamath/patches/patch-expr.h
new file mode 100644
index 00000000000..ee1cea99bef
--- /dev/null
+++ b/math/aamath/patches/patch-expr.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-expr.h,v 1.1 2011/11/25 22:04:43 joerg Exp $
+
+--- expr.h.orig 2011-11-25 13:49:05.000000000 +0000
++++ expr.h
+@@ -451,7 +451,7 @@ class Integral : public OpOnFunction {
+
+ virtual CanvasPtr render_head() const;
+
+- void render_symbol(Canvas& c, int r, int c, int h) const;
++ void render_symbol(Canvas& canvas, int r, int c, int h) const;
+
+ virtual CanvasPtr render() const;
+ };
+@@ -467,7 +467,7 @@ class IntegralOnInterval : public Integr
+
+ class OpSymbol {
+ public:
+- virtual void render(Canvas& c, int r, int c) const = 0;
++ virtual void render(Canvas& canvas, int r, int c) const = 0;
+ };
+
+ class SumOrProduct : public OpOnFunction {