aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2018-04-07 19:14:48 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2018-04-07 19:14:48 +0100
commit63a803bb8eae302bafd1aaa0259bba6c28437cba (patch)
tree1b5e205dc6e0b629389a870754d0f83ecd9777b5
parent9a6dbb61f2dde348fbc1b414465cd5fadeaa4b8d (diff)
downloadwavemon-63a803bb8eae302bafd1aaa0259bba6c28437cba.tar.gz
d/patches: add patch from Helmut Grohne to fix FTCBFS (Closes: #852784)
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/02-honour-CC.patch19
-rw-r--r--debian/patches/series1
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