From 63a803bb8eae302bafd1aaa0259bba6c28437cba Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sat, 7 Apr 2018 19:14:48 +0100 Subject: d/patches: add patch from Helmut Grohne to fix FTCBFS (Closes: #852784) --- debian/changelog | 1 + debian/patches/02-honour-CC.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 21 insertions(+) create mode 100644 debian/patches/02-honour-CC.patch diff --git a/debian/changelog b/debian/changelog index 0d658d3..456be72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ wavemon (0.8.2-1) UNRELEASED; urgency=medium - Change Priority from Extra to Optional * d/control: remove autotools-dev as a dependency * d/patches: refresh patches + * d/patches: add patch from Helmut Grohne to fix FTCBFS (Closes: #852784) -- Jonathan McCrohan Wed, 04 Jan 2017 00:24:11 +0000 diff --git a/debian/patches/02-honour-CC.patch b/debian/patches/02-honour-CC.patch new file mode 100644 index 0000000..519046b --- /dev/null +++ b/debian/patches/02-honour-CC.patch @@ -0,0 +1,19 @@ +From: Helmut Grohne +Subject: honour the CC variable from configure + +A ?= assignment to CC is a noop, because CC has a make default of "cc". This +breaks e.g. cross compilation. + +Index: wavemon-0.8.1/Makefile.in +=================================================================== +--- wavemon-0.8.1.orig/Makefile.in ++++ wavemon-0.8.1/Makefile.in +@@ -8,7 +8,7 @@ + exec_perms = 0755 + install-suid-root: exec_perms = 4755 + +-CC ?= @CC@ ++CC = @CC@ + CFLAGS ?= @CFLAGS@ @LIBNL3_CFLAGS@ + CPPFLAGS ?= @CPPFLAGS@ + LDFLAGS ?= @LDFLAGS@ diff --git a/debian/patches/series b/debian/patches/series index 18ef635..e3d65cb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 01-patch-makefile.in-to-not-install-docs.patch +02-honour-CC.patch -- cgit v1.2.3