diff -Nru onedrive-1.1.20170919/debian/changelog onedrive-1.1.20170919/debian/changelog --- onedrive-1.1.20170919/debian/changelog 2017-11-15 06:25:51.000000000 +0000 +++ onedrive-1.1.20170919/debian/changelog 2017-12-09 13:19:18.000000000 +0000 @@ -1,3 +1,9 @@ +onedrive (1.1.20170919-2ubuntu1) bionic; urgency=medium + + * Tweak gdc patch to fix build failure + + -- Gianfranco Costamagna Sat, 09 Dec 2017 14:19:18 +0100 + onedrive (1.1.20170919-2) unstable; urgency=medium * switch to gdc diff -Nru onedrive-1.1.20170919/debian/patches/gdc-support onedrive-1.1.20170919/debian/patches/gdc-support --- onedrive-1.1.20170919/debian/patches/gdc-support 2017-11-15 06:25:51.000000000 +0000 +++ onedrive-1.1.20170919/debian/patches/gdc-support 2017-12-09 13:19:14.000000000 +0000 @@ -7,7 +7,7 @@ +++ onedrive.git/Makefile @@ -1,4 +1,4 @@ -DFLAGS = -ofonedrive -L-lcurl -L-lsqlite3 -L-ldl -J. -+DFLAGS = -oonedrive -lcurl -lsqlite3 -J. ++DFLAGS = -oonedrive -lcurl -lsqlite3 PREFIX = /usr SOURCES = \ @@ -16,7 +16,7 @@ debug: version $(SOURCES) - dmd -debug -g -gs $(DFLAGS) $(SOURCES) -+ gdc --debug -g $(DFLAGS) $(SOURCES) ++ gdc --debug -g -J. $(SOURCES) $(DFLAGS) install: all install -D onedrive $(DESTDIR)$(PREFIX)/bin/onedrive @@ -24,14 +24,14 @@ onedrive: version $(SOURCES) - dmd -g -inline -O -release $(DFLAGS) $(SOURCES) -+ gdc -g -O -frelease $(DFLAGS) $(SOURCES) ++ gdc -g -O -frelease -J. $(SOURCES) $(DFLAGS) onedrive.service: sed "s|@PREFIX@|$(PREFIX)|g" onedrive.service.in > onedrive.service unittest: $(SOURCES) - dmd -debug -g -gs -unittest $(DFLAGS) $(SOURCES) -+ gdc --debug -g --unittest $(DFLAGS) $(SOURCES) ++ gdc --debug -g --unittest -J. $(SOURCES) $(DFLAGS) uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/onedrive