on xenial help sign in
Explicitly select gcc version.
c3229cfthomas-voss
debian/control+5−1
@@ -7,6 +7,10 @@ Build-Depends: cmake,
7 debhelper (>= 9),
7 debhelper (>= 9),
8 doxyqml,
8 doxyqml,
9 graphviz,
9 graphviz,
10+# We rely on C++11 features, and to prevent from ABI breaks
11+# in libstdc++ causing us issues, we explicitly select a G++
12+# version.
13+ g++-4.9,
10 libdee-qt5-dev (>= 3.2),
14 libdee-qt5-dev (>= 3.2),
11 libgl1-mesa-dev[!armhf] | libgl-dev[!armhf],
15 libgl1-mesa-dev[!armhf] | libgl-dev[!armhf],
12 libgl1-mesa-dri,
16 libgl1-mesa-dri,
@@ -15,7 +19,7 @@ Build-Depends: cmake,
15 libgsettings-qt-dev,
19 libgsettings-qt-dev,
16 libhardware-dev,
20 libhardware-dev,
17 libhud-client2-dev,
21 libhud-client2-dev,
18− libpay1-dev,
22+ libpay2-dev,
19 libpulse-dev,
23 libpulse-dev,
20 libqmenumodel-dev (>= 0.2.8),
24 libqmenumodel-dev (>= 0.2.8),
21 libqt5xmlpatterns5-dev,
25 libqt5xmlpatterns5-dev,
debian/rules+8−1
@@ -1,11 +1,18 @@
1#!/usr/bin/make -f
1#!/usr/bin/make -f
2# -*- makefile -*-
2# -*- makefile -*-
3
3
4+include /usr/share/dpkg/default.mk
5+
4# Uncomment this to turn on verbose mode.
6# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
7#export DH_VERBOSE=1
6export DPKG_GENSYMBOLS_CHECK_LEVEL=4
8export DPKG_GENSYMBOLS_CHECK_LEVEL=4
7export NO_PNG_PKG_MANGLE=1
9export NO_PNG_PKG_MANGLE=1
8
10
11+# Explicitly selecting a G{CC,++}-version here to avoid accidental
12+# ABI breaks introduced by toolchain updates.
13+export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
14+export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
15+
9%:
16%:
10 dh $@ --parallel --fail-missing --with python2,python3
17 dh $@ --parallel --fail-missing --with python2,python3
11
18
@@ -16,7 +23,7 @@ override_dh_auto_clean:
16override_dh_auto_configure:
23override_dh_auto_configure:
17 # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
24 # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
18 # So until Debian bug 719148 is fixed, do it ourselves.
25 # So until Debian bug 719148 is fixed, do it ourselves.
19− dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
26+ dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var" -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)
20
27
21override_dh_auto_build:
28override_dh_auto_build:
22 # doc is not a default target
29 # doc is not a default target