Apply patch from Ubuntu to use gcc 11. archive/raspbian/3.17.3-2+rpi1 raspbian/3.17.3-2+rpi1
authorroot <root@manualdev>
Fri, 9 Sep 2022 15:59:33 +0000 (15:59 +0000)
committerroot <root@manualdev>
Fri, 9 Sep 2022 15:59:33 +0000 (15:59 +0000)
debian/changelog
debian/control
debian/rules

index c204f7c9770e3772a5027fa693a753fe31187630..34984f60fb60ef2bb2a21a7575eb577b094cf085 100644 (file)
@@ -5,7 +5,10 @@ gambas3 (3.17.3-2+rpi1) bookworm-staging; urgency=medium
   * Add build conflicts on libcgal-dev, it seems to break the build.
   * Fix clean target.
 
- -- Raspbian forward porter <root@raspbian.org>  Wed, 31 Aug 2022 09:08:50 +0000
+  [changes taken from 3.17.3-2ubuntu1 by Gianfranco Costamagna]
+  * Use gcc-11 for now to fix a strange armhf build failure
+
+ -- Peter Micheal Green <plugwash@raspbian.org>  Fri, 09 Sep 2022 15:58:13 +0000
 
 gambas3 (3.17.3-2) unstable; urgency=medium
 
index a5989ec46524369ab313b151747902ca4a0a1d75..376b164587b31bbc7c0f193b3054f7ccb2197a6c 100644 (file)
@@ -8,7 +8,7 @@ Maintainer: Debian Gambas Team <team+debian-gambas@tracker.debian.org>
 Uploaders: Ian Haywood <ian@haywood.id.au>,
            Bastian Germann <bage@debian.org>,
            José L. Redrejo Rodríguez <jredrejo@debian.org>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 12), gcc-11 [armhf], g++-11 [armhf],
                gettext,
                libalure-dev,
                libbz2-dev,
index 61c52cc5476aa10f8c336328158bc462159e887a..b3a6309cd04abd26feea8eedd87a7a8a898bc6f7 100755 (executable)
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 
+ifeq (armhf,$(DEB_HOST_ARCH))
+  export CC=gcc-11
+  export CXX=g++-11
+endif
+
 #export DH_VERBOSE=1
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 export XDG_DATA_HOME=$(CURDIR)/debian/tmp/usr/share