Source: nullidentd Version: 1.0-5 Tags: patch upstream User: [email protected] Usertags: rebootstrap
nullidentd fails to cross build from source, because the upstream build system hard codes the build architecture compiler gcc in its Makefile. After replacing it with $(CC) (and thus letting dh_auto_build substitute it), nullidentd cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru nullidentd-1.0/debian/changelog nullidentd-1.0/debian/changelog --- nullidentd-1.0/debian/changelog 2011-07-08 14:09:32.000000000 +0200 +++ nullidentd-1.0/debian/changelog 2017-08-16 08:05:57.000000000 +0200 @@ -1,3 +1,10 @@ +nullidentd (1.0-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Add 03_makefile.diff. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 16 Aug 2017 08:05:57 +0200 + nullidentd (1.0-5) unstable; urgency=low * New maintainer. (Closes: #632878) diff --minimal -Nru nullidentd-1.0/debian/patches/03_makefile.diff nullidentd-1.0/debian/patches/03_makefile.diff --- nullidentd-1.0/debian/patches/03_makefile.diff 1970-01-01 01:00:00.000000000 +0100 +++ nullidentd-1.0/debian/patches/03_makefile.diff 2017-08-16 08:05:54.000000000 +0200 @@ -0,0 +1,16 @@ +From: Helmut Grohne <[email protected]> +Subject: support substituting the C compiler + +Index: nullidentd-1.0/Makefile +=================================================================== +--- nullidentd-1.0.orig/Makefile ++++ nullidentd-1.0/Makefile +@@ -6,7 +6,7 @@ + + + nullidentd: nullidentd.c version.h +- gcc -O2 -o nullidentd nullidentd.c ++ $(CC) -O2 -o nullidentd nullidentd.c + + dist: .version + mkdir nullidentd-`cat .version` diff --minimal -Nru nullidentd-1.0/debian/patches/series nullidentd-1.0/debian/patches/series --- nullidentd-1.0/debian/patches/series 2011-07-11 10:01:57.000000000 +0200 +++ nullidentd-1.0/debian/patches/series 2017-08-16 08:05:11.000000000 +0200 @@ -1,2 +1,3 @@ 01_random_usernames.diff 02_makefile.diff +03_makefile.diff

