summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-02-28 15:01:27 +0000
committerjoerg <joerg@pkgsrc.org>2017-02-28 15:01:27 +0000
commiteaf670faba8d4eeb579b5ee6b0d7c1b666875abc (patch)
tree4a76bd9124193617877ce47637b4b14926dae9e2
parent6b1407cf1bc5016bbb4eed9453df8f73ceb12e80 (diff)
downloadpkgsrc-eaf670faba8d4eeb579b5ee6b0d7c1b666875abc.tar.gz
Fix C++ syntax.
-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