fix spurious const debian/1.8.6-2
authorBdale Garbee <bdale@gag.com>
Fri, 31 Aug 2018 03:54:07 +0000 (21:54 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 31 Aug 2018 03:54:07 +0000 (21:54 -0600)
debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch b/debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch
new file mode 100644 (file)
index 0000000..84f09e0
--- /dev/null
@@ -0,0 +1,28 @@
+From bb9d071d328969fc3c544897f1fc96e55a842198 Mon Sep 17 00:00:00 2001
+From: Keith Packard <keithp@keithp.com>
+Date: Mon, 13 Aug 2018 17:43:57 -0700
+Subject: [PATCH 01/13] altos: Remove spurious 'const' from ao_state_names
+
+Current gcc complains about this.
+
+Signed-off-by: Keith Packard <keithp@keithp.com>
+---
+ src/kernel/ao.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kernel/ao.h b/src/kernel/ao.h
+index 2bd0e367..0a3981d7 100644
+--- a/src/kernel/ao.h
++++ b/src/kernel/ao.h
+@@ -662,7 +662,7 @@ ao_radio_init(void);
+ #if HAS_MONITOR
+-extern const char const * const ao_state_names[];
++extern const char * const ao_state_names[];
+ #define AO_MONITOR_RING       8
+-- 
+2.19.0.rc1
+
index 1c01958deab893bc871358ccf9d3bb0e18f5ac37..1867abac57f2c1828acd92816bad5bba151677b8 100644 (file)
@@ -1 +1,2 @@
 0001-altos-don-t-build-fox1ihu-by-default.patch
+0001-altos-Remove-spurious-const-from-ao_state_names.patch