diff options
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/02-honour-CC.patch | 19 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 21 insertions, 0 deletions
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 <jmccrohan@gmail.com> 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 <helmut@subdivi.de> +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 |