pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/yap



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Apr 17 00:19:44 UTC 2020

Modified Files:
        pkgsrc/lang/yap: distinfo
        pkgsrc/lang/yap/patches: patch-packages_CLPBN_horus_Util.h

Log Message:
Fix STL use


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/yap/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/lang/yap/patches/patch-packages_CLPBN_horus_Util.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/yap/distinfo
diff -u pkgsrc/lang/yap/distinfo:1.22 pkgsrc/lang/yap/distinfo:1.23
--- pkgsrc/lang/yap/distinfo:1.22       Tue Dec 29 23:34:57 2015
+++ pkgsrc/lang/yap/distinfo    Fri Apr 17 00:19:43 2020
@@ -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) = 4fcd4816d85c6f9
 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

Index: pkgsrc/lang/yap/patches/patch-packages_CLPBN_horus_Util.h
diff -u pkgsrc/lang/yap/patches/patch-packages_CLPBN_horus_Util.h:1.2 pkgsrc/lang/yap/patches/patch-packages_CLPBN_horus_Util.h:1.3
--- pkgsrc/lang/yap/patches/patch-packages_CLPBN_horus_Util.h:1.2       Tue Dec 29 23:34:57 2015
+++ pkgsrc/lang/yap/patches/patch-packages_CLPBN_horus_Util.h   Fri Apr 17 00:19:44 2020
@@ -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