[nco] 01/05: Explicitly build with GCC 6 (FTBFS with GCC 7 not fixed yet).

Bas Couwenberg sebastic at debian.org
Sat Aug 5 11:45:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository nco.

commit 24ff14f3ae70270c26f0483f4adb56da21a246d5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Aug 5 13:32:28 2017 +0200

    Explicitly build with GCC 6 (FTBFS with GCC 7 not fixed yet).
---
 debian/changelog | 6 ++++++
 debian/control   | 2 ++
 debian/rules     | 3 +++
 3 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f9b8258..f225c80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+nco (4.6.7-2) UNRELEASED; urgency=medium
+
+  * Explicitly build with GCC 6 (FTBFS with GCC 7 not fixed yet).
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 05 Aug 2017 13:32:26 +0200
+
 nco (4.6.7-1) unstable; urgency=medium
 
   * Move from experimental to unstable.
diff --git a/debian/control b/debian/control
index 8134ecb..a041a7d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,8 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-autoreconf,
+               gcc-6,
+               g++-6,
                autotools-dev,
                bison,
                flex,
diff --git a/debian/rules b/debian/rules
index dae9e00..95afb75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 # Use custom automake command to prevent autoreconf failure
 export AUTOMAKE = ./debian/automake.sh
 
+export CC=gcc-6
+export CXX=g++-6
+
 %:
 	dh $@ --with autoreconf \
 	      --buildsystem autoconf \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git



More information about the Pkg-grass-devel mailing list