diff -Nru dxtool-0.1/debian/changelog dxtool-0.1/debian/changelog --- dxtool-0.1/debian/changelog 2018-03-29 00:02:01.000000000 +0000 +++ dxtool-0.1/debian/changelog 2019-09-08 18:49:36.000000000 +0000 @@ -1,3 +1,9 @@ +dxtool (0.1-4) unstable; urgency=medium + + * Fix cross-build failure (Closes: #939780) + + -- Wookey Sun, 08 Sep 2019 19:49:36 +0100 + dxtool (0.1-3) unstable; urgency=medium * Minor packaging updates diff -Nru dxtool-0.1/debian/compat dxtool-0.1/debian/compat --- dxtool-0.1/debian/compat 2015-07-08 21:24:52.000000000 +0000 +++ dxtool-0.1/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru dxtool-0.1/debian/control dxtool-0.1/debian/control --- dxtool-0.1/debian/control 2018-03-29 00:02:01.000000000 +0000 +++ dxtool-0.1/debian/control 2019-09-08 18:49:36.000000000 +0000 @@ -2,9 +2,10 @@ Section: comm Priority: optional Maintainer: Wookey -Build-Depends: debhelper (>= 9) -Standards-Version: 4.1.3 +Build-Depends: debhelper (>= 12), debhelper-compat (= 12) +Standards-Version: 4.5.1 Homepage: http://jaskinie.jaszczur.org/index_en.html +Rules-Requires-Root: no Package: dxtool Architecture: any diff -Nru dxtool-0.1/debian/patches/debianise-Makefile.patch dxtool-0.1/debian/patches/debianise-Makefile.patch --- dxtool-0.1/debian/patches/debianise-Makefile.patch 2016-09-22 23:52:13.000000000 +0000 +++ dxtool-0.1/debian/patches/debianise-Makefile.patch 2019-09-08 18:49:36.000000000 +0000 @@ -9,10 +9,12 @@ SOURCES= dxtool.c OBJECTS = ${SOURCES:.c=.o} -@@ -15,4 +13,4 @@ all: ${OBJECTS} +@@ -11,7 +9,7 @@ OUT=dxtool + LIBS = + + all: ${OBJECTS} +- cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS) ++ $(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS) clean: rm -rf $(OBJECTS) $(OUT) -- -\ No newline at end of file -+ diff -Nru dxtool-0.1/debian/rules dxtool-0.1/debian/rules --- dxtool-0.1/debian/rules 2016-09-22 23:43:44.000000000 +0000 +++ dxtool-0.1/debian/rules 2019-09-08 18:49:36.000000000 +0000 @@ -1,20 +1,13 @@ #!/usr/bin/make -f -# output every command that modifies files on the build system. #DH_VERBOSE = 1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk -# see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all - -# see ENVIRONMENT in dpkg-buildflags(1) -# package maintainers to append CFLAGS export DEB_CFLAGS_MAINT_APPEND = -W -Wall -pedantic -# package maintainers to append LDFLAGS export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - %: dh $@