pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/zinnia zinnia: Backport upstream fix for C...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3283e54d347b
branches:  trunk
changeset: 374809:3283e54d347b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jan 29 17:41:05 2018 +0000

description:
zinnia: Backport upstream fix for C++11.

diffstat:

 inputmethod/zinnia/distinfo                  |   3 ++-
 inputmethod/zinnia/patches/patch-trainer.cpp |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 9a6a3b3cd880 -r 3283e54d347b inputmethod/zinnia/distinfo
--- a/inputmethod/zinnia/distinfo       Mon Jan 29 17:38:23 2018 +0000
+++ b/inputmethod/zinnia/distinfo       Mon Jan 29 17:41:05 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 22:13:42 agc Exp $
+$NetBSD: distinfo,v 1.5 2018/01/29 17:41:05 jperkin Exp $
 
 SHA1 (zinnia-0.06.tar.gz) = bc67d65857186bb49710a712a2fc8f8cb81211c0
 RMD160 (zinnia-0.06.tar.gz) = 7ade98fa37144f2750b027278c1b55d810612974
 SHA512 (zinnia-0.06.tar.gz) = b9a44dc3664302269c4d8481225964a3188c1921f5af7f136fdccdc452917f6ff934884e266436a0f1e0a32af19d3bea5f5e4416e694a653983039a513277b53
 Size (zinnia-0.06.tar.gz) = 457415 bytes
 SHA1 (patch-aa) = 4a0f3276f05c72e886bdae875bd86ad630b384d1
+SHA1 (patch-trainer.cpp) = d70f4a49d45794d87e4d1d28c99adfd08d0a538e
diff -r 9a6a3b3cd880 -r 3283e54d347b inputmethod/zinnia/patches/patch-trainer.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/zinnia/patches/patch-trainer.cpp      Mon Jan 29 17:41:05 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-trainer.cpp,v 1.1 2018/01/29 17:41:05 jperkin Exp $
+
+Backport upstream fix for C++11.
+
+--- trainer.cpp.orig   2010-05-09 05:34:08.000000000 +0000
++++ trainer.cpp
+@@ -103,7 +103,7 @@ class TrainerImpl: public Trainer {
+     if (!fn) {
+       return false;
+     }
+-    x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn));
++    x_.push_back(std::make_pair(y, fn));
+     return true;
+   }
+ 



Home | Main Index | Thread Index | Old Index