diff -Nru graphicsmagick-1.3.26/debian/changelog graphicsmagick-1.3.26/debian/changelog --- graphicsmagick-1.3.26/debian/changelog 2017-08-07 19:25:42.000000000 +0000 +++ graphicsmagick-1.3.26/debian/changelog 2017-08-17 20:19:15.000000000 +0000 @@ -1,3 +1,9 @@ +graphicsmagick (1.3.26-5+rpi1) buster-staging; urgency=medium + + * Build with gcc 7 explicitly. + + -- Peter Michael Green Thu, 17 Aug 2017 20:19:15 +0000 + graphicsmagick (1.3.26-5) unstable; urgency=medium * Handle mangling change for conversion operators in GCC 7 (closes: #871306). diff -Nru graphicsmagick-1.3.26/debian/control graphicsmagick-1.3.26/debian/control --- graphicsmagick-1.3.26/debian/control 2017-08-07 19:25:42.000000000 +0000 +++ graphicsmagick-1.3.26/debian/control 2017-08-17 20:19:15.000000000 +0000 @@ -2,7 +2,7 @@ Section: graphics Priority: optional Maintainer: Laszlo Boszormenyi (GCS) -Build-Depends: debhelper (>= 10), g++ (>= 4:7), libjpeg-dev, liblcms2-dev, libwmf-dev (>= 0.2.8.4), libx11-dev, libsm-dev, libice-dev, libxext-dev, x11proto-core-dev, libxml2-dev, libfreetype6-dev, libexif-dev, libbz2-dev, libtiff-dev, libjbig-dev, zlib1g-dev | libz-dev, libpng-dev, libwebp-dev, perl (>= 5.20), ghostscript, gsfonts, transfig, sharutils, libltdl-dev +Build-Depends: debhelper (>= 10), g++-7, gcc-7, libjpeg-dev, liblcms2-dev, libwmf-dev (>= 0.2.8.4), libx11-dev, libsm-dev, libice-dev, libxext-dev, x11proto-core-dev, libxml2-dev, libfreetype6-dev, libexif-dev, libbz2-dev, libtiff-dev, libjbig-dev, zlib1g-dev | libz-dev, libpng-dev, libwebp-dev, perl (>= 5.20), ghostscript, gsfonts, transfig, sharutils, libltdl-dev Standards-Version: 4.0.0 Homepage: http://www.graphicsmagick.org/ diff -Nru graphicsmagick-1.3.26/debian/rules graphicsmagick-1.3.26/debian/rules --- graphicsmagick-1.3.26/debian/rules 2017-08-07 19:25:42.000000000 +0000 +++ graphicsmagick-1.3.26/debian/rules 2017-08-17 20:18:37.000000000 +0000 @@ -4,6 +4,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export CC=gcc-7 +export CXX=g++-7 + export DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) export DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)