[neon/extras/labplot/Neon/unstable] debian: force it to build with gcc12

Carlos De Maine null at kde.org
Thu Apr 13 00:55:22 BST 2023


Git commit 28450e8470b757ceafd8c5ffb1c9873b4854871c by Carlos De Maine.
Committed on 12/04/2023 at 23:55.
Pushed by carlosdem into branch 'Neon/unstable'.

force it to build with gcc12

M  +2    -0    debian/control
M  +2    -0    debian/rules

https://invent.kde.org/neon/extras/labplot/commit/28450e8470b757ceafd8c5ffb1c9873b4854871c

diff --git a/debian/control b/debian/control
index 761954d..61848bb 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ Build-Depends: bison,
                debhelper-compat (= 13),
                extra-cmake-modules (>= 1.3.0),
                fastfloat-dev,
+               g++-12,
+               gcc-12,
                gettext,
                kuserfeedback-dev,
                libcantor-dev [amd64 arm64 armhf i386 mips64el mipsel],
diff --git a/debian/rules b/debian/rules
index ef3e935..e071314 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 # Disable fixfilepath, as it causes build failures.
 export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath
+export CC=gcc-12
+export CXX=g++-12
 
 %:
 	dh $@ --with kf5


More information about the Neon-commits mailing list