diff --git a/debian/changelog b/debian/changelog index 2c00c77eb..69340d0ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +boost1.83 (1.83.0-2deepin1) unstable; urgency=medium + + * fix gcc version detection + + -- Chang Yang Tue, 24 Dec 2024 10:04:31 +0800 + boost1.83 (1.83.0-2) unstable; urgency=medium * [139123a] Add dep to libboost1.83-all-dev on libboost-url1.83-dev. (Closes: #1058948) diff --git a/debian/rules b/debian/rules index 7af941030..be84fbcbb 100755 --- a/debian/rules +++ b/debian/rules @@ -318,7 +318,7 @@ ifeq ($(BUILD_NUMPY), yes) endif override_dh_gencontrol: - dh_gencontrol -- -V'gxx:major=$(shell dpkg-query -f '$${version}' -W g++ | sed 's/.*://;s/\..*//')' + dh_gencontrol -- -V'gxx:major=$(shell g++ -dumpversion)' $(b2): cd tools/build && bison -y -d -o src/engine/jamgram.cpp src/engine/jamgram.y