pkgsrc-Changes archive

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

CVS commit: pkgsrc/inputmethod/zinnia



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Jan 29 17:41:06 UTC 2018

Modified Files:
        pkgsrc/inputmethod/zinnia: distinfo
Added Files:
        pkgsrc/inputmethod/zinnia/patches: patch-trainer.cpp

Log Message:
zinnia: Backport upstream fix for C++11.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/inputmethod/zinnia/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/inputmethod/zinnia/patches/patch-trainer.cpp

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

Modified files:

Index: pkgsrc/inputmethod/zinnia/distinfo
diff -u pkgsrc/inputmethod/zinnia/distinfo:1.4 pkgsrc/inputmethod/zinnia/distinfo:1.5
--- pkgsrc/inputmethod/zinnia/distinfo:1.4      Tue Nov  3 22:13:42 2015
+++ pkgsrc/inputmethod/zinnia/distinfo  Mon Jan 29 17:41:05 2018
@@ -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

Added files:

Index: pkgsrc/inputmethod/zinnia/patches/patch-trainer.cpp
diff -u /dev/null pkgsrc/inputmethod/zinnia/patches/patch-trainer.cpp:1.1
--- /dev/null   Mon Jan 29 17:41:06 2018
+++ pkgsrc/inputmethod/zinnia/patches/patch-trainer.cpp Mon Jan 29 17:41:05 2018
@@ -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