summaryrefslogtreecommitdiff
path: root/debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2018-08-30 21:54:07 -0600
committerBdale Garbee <bdale@gag.com>2018-08-30 21:54:07 -0600
commite3baff769b26fa450c6d9baf7f372940f8e70bc8 (patch)
treec68462e25fecb82886ef92e66731861e8fcf179c /debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch
parent8c06c86701a56ec25ce63ab8b6b8ccfa87f729c7 (diff)
fix spurious constdebian/1.8.6-2
Diffstat (limited to 'debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch')
-rw-r--r--debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch28
1 files changed, 28 insertions, 0 deletions
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
index 00000000..84f09e00
--- /dev/null
+++ b/debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch
@@ -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
+