summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg>2017-02-28 15:01:27 +0000
committerjoerg <joerg>2017-02-28 15:01:27 +0000
commit9614ff28ee9d19266a2b0d20fa0dd9c036da8ff4 (patch)
tree5ec87820b27357baf457a90513898b83650b2ad4 /math
parent5107456498c5c47ab269e5427c3c13745352b31f (diff)
downloadpkgsrc-9614ff28ee9d19266a2b0d20fa0dd9c036da8ff4.tar.gz
Fix C++ syntax.
Diffstat (limited to 'math')
-rw-r--r--math/ppl/distinfo4
-rw-r--r--math/ppl/patches/patch-src_Determinate__inlines.hh13
-rw-r--r--math/ppl/patches/patch-src_OR__Matrix__inlines.hh13
3 files changed, 29 insertions, 1 deletions
diff --git a/math/ppl/distinfo b/math/ppl/distinfo
index 18ddda6f90e..fac661c32c8 100644
--- a/math/ppl/distinfo
+++ b/math/ppl/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 23:33:41 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/02/28 15:01:27 joerg Exp $
SHA1 (ppl-1.1.tar.gz) = d24c79f7299320e6a344711aaec74bd2d5015b15
RMD160 (ppl-1.1.tar.gz) = 3619a9ed076c05bd042b5f2c3d6545a018c9908a
SHA512 (ppl-1.1.tar.gz) = 45e42eeb3e0bf5dbbb031b9980a556fc2e3134fdf0a8f58ed2d86ac8613aa45fe2725bcc2a02555317e8d639cc2277899b045770c4cfa7361eab438713e19490
Size (ppl-1.1.tar.gz) = 17281194 bytes
+SHA1 (patch-src_Determinate__inlines.hh) = 11b78fd028f7264ac06a1ca90ba375bcb446a3c6
+SHA1 (patch-src_OR__Matrix__inlines.hh) = 1cde5fbb5bda39142a432b35d39cbbeada8a3939
diff --git a/math/ppl/patches/patch-src_Determinate__inlines.hh b/math/ppl/patches/patch-src_Determinate__inlines.hh
new file mode 100644
index 00000000000..4c80125bb86
--- /dev/null
+++ b/math/ppl/patches/patch-src_Determinate__inlines.hh
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Determinate__inlines.hh,v 1.1 2017/02/28 15:01:27 joerg Exp $
+
+--- src/Determinate_inlines.hh.orig 2017-02-27 13:25:22.383118938 +0000
++++ src/Determinate_inlines.hh
+@@ -288,7 +288,7 @@ operator()(Determinate& x, const Determi
+ template <typename PSET>
+ template <typename Binary_Operator_Assign>
+ inline
+-Determinate<PSET>::Binary_Operator_Assign_Lifter<Binary_Operator_Assign>
++typename Determinate<PSET>::template Binary_Operator_Assign_Lifter<Binary_Operator_Assign>
+ Determinate<PSET>::lift_op_assign(Binary_Operator_Assign op_assign) {
+ return Binary_Operator_Assign_Lifter<Binary_Operator_Assign>(op_assign);
+ }
diff --git a/math/ppl/patches/patch-src_OR__Matrix__inlines.hh b/math/ppl/patches/patch-src_OR__Matrix__inlines.hh
new file mode 100644
index 00000000000..de618c5b07b
--- /dev/null
+++ b/math/ppl/patches/patch-src_OR__Matrix__inlines.hh
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_OR__Matrix__inlines.hh,v 1.1 2017/02/28 15:01:27 joerg Exp $
+
+--- src/OR_Matrix_inlines.hh.orig 2017-02-27 13:14:25.020701853 +0000
++++ src/OR_Matrix_inlines.hh
+@@ -97,7 +97,7 @@ OR_Matrix<T>::Pseudo_Row<U>::Pseudo_Row(
+
+ template <typename T>
+ template <typename U>
+-inline OR_Matrix<T>::Pseudo_Row<U>&
++inline typename OR_Matrix<T>::template Pseudo_Row<U>&
+ OR_Matrix<T>::Pseudo_Row<U>::operator=(const Pseudo_Row& y) {
+ first = y.first;
+ #if PPL_OR_MATRIX_EXTRA_DEBUG