pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/yap Fix STL use
details: https://anonhg.NetBSD.org/pkgsrc/rev/0df426f04fa5
branches: trunk
changeset: 427462:0df426f04fa5
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Apr 17 00:19:43 2020 +0000
description:
Fix STL use
diffstat:
lang/yap/distinfo | 4 ++--
lang/yap/patches/patch-packages_CLPBN_horus_Util.h | 22 ++++++++++++++++++++--
2 files changed, 22 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r a7714774368b -r 0df426f04fa5 lang/yap/distinfo
--- a/lang/yap/distinfo Fri Apr 17 00:19:26 2020 +0000
+++ b/lang/yap/distinfo Fri Apr 17 00:19:43 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2015/12/29 23:34:57 dholland Exp $
+$NetBSD: distinfo,v 1.23 2020/04/17 00:19:43 joerg Exp $
SHA1 (yap-6.3.3.tar.gz) = d191e419e5cf74b11e003aae5fe148f3f2f26ac5
RMD160 (yap-6.3.3.tar.gz) = 6c92880670d58b1e885cbb52709b61773db65808
@@ -14,6 +14,6 @@
SHA1 (patch-configure.in) = ad9307e07031fddc981ad694aee90a500f2d6a19
SHA1 (patch-os_pl-rl.c) = 3e79716dbceec96cc71a0549c0b06c7ae1cba1fb
SHA1 (patch-packages_CLPBN_horus_HorusCli.cpp) = 96ad59f1c8e41ee9e0074ec6c86f075490708126
-SHA1 (patch-packages_CLPBN_horus_Util.h) = b6d7e28cf09d484aacda284c1466f65b29192e01
+SHA1 (patch-packages_CLPBN_horus_Util.h) = 2d21183c0834a04514103702656db863d30dea8f
SHA1 (patch-packages_pldoc_Makefile.in) = a8c7bd5a25e9a25924d9610933b9e4e796be078e
SHA1 (patch-packages_swi-minisat2_C_SolverTypes.h) = d652cc73a608a593868f01ec47feb8ba1d745669
diff -r a7714774368b -r 0df426f04fa5 lang/yap/patches/patch-packages_CLPBN_horus_Util.h
--- a/lang/yap/patches/patch-packages_CLPBN_horus_Util.h Fri Apr 17 00:19:26 2020 +0000
+++ b/lang/yap/patches/patch-packages_CLPBN_horus_Util.h Fri Apr 17 00:19:43 2020 +0000
@@ -1,9 +1,27 @@
-$NetBSD: patch-packages_CLPBN_horus_Util.h,v 1.2 2015/12/29 23:34:57 dholland Exp $
+$NetBSD: patch-packages_CLPBN_horus_Util.h,v 1.3 2020/04/17 00:19:44 joerg Exp $
Fix C++ dialect.
---- packages/CLPBN/horus/Util.h.orig 2014-01-06 14:34:17.000000000 +0000
+--- packages/CLPBN/horus/Util.h.orig 2013-01-14 23:11:52.000000000 +0000
+++ packages/CLPBN/horus/Util.h
+@@ -176,7 +176,7 @@ Util::apply_n_times (Params& v1, const P
+ template <typename T> void
+ Util::log (vector<T>& v)
+ {
+- std::transform (v.begin(), v.end(), v.begin(), ::log);
++ std::transform (v.begin(), v.end(), v.begin(), std::pointer_to_unary_function<T,T>(std::log));
+ }
+
+
+@@ -184,7 +184,7 @@ Util::log (vector<T>& v)
+ template <typename T> void
+ Util::exp (vector<T>& v)
+ {
+- std::transform (v.begin(), v.end(), v.begin(), ::exp);
++ std::transform (v.begin(), v.end(), v.begin(), std::pointer_to_unary_function<T,T>(std::exp));
+ }
+
+
@@ -370,7 +370,7 @@ template <typename T>
void operator^=(std::vector<T>& v, int iexp)
{
Home |
Main Index |
Thread Index |
Old Index