diff -Nru dub-1.2.0/debian/build_dub.sh dub-1.2.0/debian/build_dub.sh --- dub-1.2.0/debian/build_dub.sh 2017-01-24 21:35:46.000000000 +0000 +++ dub-1.2.0/debian/build_dub.sh 2017-02-27 11:00:21.000000000 +0000 @@ -15,7 +15,7 @@ echo "Running $GDC..." $GDC -v -obin/dub -fversion=DubUseCurl -Isource \ - $LIBS -lz \ + -Wl,--push-state,--no-as-needed $LIBS -lz -Wl,--pop-state \ $CFLAGS \ $LDFLAGS \ $* @build-files.txt diff -Nru dub-1.2.0/debian/changelog dub-1.2.0/debian/changelog --- dub-1.2.0/debian/changelog 2017-01-24 21:35:46.000000000 +0000 +++ dub-1.2.0/debian/changelog 2017-02-27 11:00:21.000000000 +0000 @@ -1,3 +1,9 @@ +dub (1.2.0-1ubuntu1) zesty; urgency=medium + + * Replace no-as-needed GDC linker hack + + -- Graham Inggs Mon, 27 Feb 2017 13:00:21 +0200 + dub (1.2.0-1) unstable; urgency=medium * New upstream version: 1.2.0 diff -Nru dub-1.2.0/debian/control dub-1.2.0/debian/control --- dub-1.2.0/debian/control 2017-01-24 21:35:46.000000000 +0000 +++ dub-1.2.0/debian/control 2017-02-27 11:00:21.000000000 +0000 @@ -1,7 +1,8 @@ Source: dub Section: devel Priority: optional -Maintainer: Debian D Language Group +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian D Language Group Uploaders: Matthias Klumpp Build-Depends: debhelper (>= 10), gdc (>= 6.2),