[onboard] 01/02: debian/patches: Make 0002_build-with-gcc6.patch apply cleanly.
Mike Gabriel
sunweaver at debian.org
Sat Jul 30 22:25:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository onboard.
commit 913c8084bd84f2e8000f69407c1d5c05408df00d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Jul 30 23:58:12 2016 +0200
debian/patches: Make 0002_build-with-gcc6.patch apply cleanly.
---
debian/patches/0002_build-with-gcc6.patch | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/patches/0002_build-with-gcc6.patch b/debian/patches/0002_build-with-gcc6.patch
index b66a73b..068e5ee 100644
--- a/debian/patches/0002_build-with-gcc6.patch
+++ b/debian/patches/0002_build-with-gcc6.patch
@@ -2,13 +2,14 @@ Description: Fix build with GCC 6
Forwarded: https://bazaar.launchpad.net/~onboard/onboard/trunk/revision/2155
Origin: https://git.archlinux.org/svntogit/community.git/tree/trunk/gcc6.diff?h=packages/onboard
Bug-Debian: https://bugs.debian.org/812033
---- Onboard/pypredict/lm/lm_dynamic_cached.h 2016-06-30 02:31:38 +0000
-+++ Onboard/pypredict/lm/lm_dynamic_cached.h 2016-07-03 23:13:59 +0000
+
+--- a/Onboard/pypredict/lm/lm_dynamic_cached.h
++++ b/Onboard/pypredict/lm/lm_dynamic_cached.h
@@ -224,10 +224,11 @@
public:
typedef _DynamicModelKN<TNGRAMS> Base;
static const Smoothing DEFAULT_SMOOTHING = ABS_DISC_I;
-- const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
+- static const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
+ const double DEFAULT_LAMBDA; // default for Jelinek-Mercer weights
public:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/onboard.git
More information about the pkg-mate-commits
mailing list