[onboard] 01/01: debian/patches/0002_build-with-gcc6.patch:
Jeremy Bicha
jbicha-guest at moszumanska.debian.org
Thu Jun 30 17:08:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
jbicha-guest pushed a commit to branch master
in repository onboard.
commit 8248432e67757314cfbde8751d63e82dae97739e
Author: Jeremy Bicha <jbicha at ubuntu.com>
Date: Thu Jun 30 13:07:07 2016 -0400
debian/patches/0002_build-with-gcc6.patch:
Add patch from Arch Linux to fix build with GCC6
Closes: #812033
---
debian/patches/0002_build-with-gcc6.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/0002_build-with-gcc6.patch b/debian/patches/0002_build-with-gcc6.patch
new file mode 100644
index 0000000..48220ee
--- /dev/null
+++ b/debian/patches/0002_build-with-gcc6.patch
@@ -0,0 +1,16 @@
+Description: Fix build with GCC 6
+Forwarded: https://code.launchpad.net/~jbicha/onboard/build-with-gcc-6/+merge/298729
+Origin: https://git.archlinux.org/svntogit/community.git/tree/trunk/gcc6.diff?h=packages/onboard
+Bug-Debian: https://bugs.debian.org/812033
+--- onboard-1.2.0/Onboard/pypredict/lm/lm_dynamic_cached.h 2016-02-18 14:31:51.000000000 +0100
++++ /tmp/lm_dynamic_cached.h.new 2016-06-14 19:04:23.924349370 +0200
+@@ -224,7 +224,7 @@
+ public:
+ typedef _DynamicModelKN<TNGRAMS> Base;
+ static const Smoothing DEFAULT_SMOOTHING = ABS_DISC_I;
+- static const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
++ const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights
+
+ public:
+ _CachedDynamicModel()
+
diff --git a/debian/patches/series b/debian/patches/series
index 7c0331d..4e895ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001_make-desktop-files-appropriate-for-Debian.patch
+0002_build-with-gcc6.patch
--
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