From e3baff769b26fa450c6d9baf7f372940f8e70bc8 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 30 Aug 2018 21:54:07 -0600 Subject: [PATCH] fix spurious const --- ...e-spurious-const-from-ao_state_names.patch | 28 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 29 insertions(+) create mode 100644 debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch 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 +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 +--- + 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 + diff --git a/debian/patches/series b/debian/patches/series index 1c01958d..1867abac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-altos-don-t-build-fox1ihu-by-default.patch +0001-altos-Remove-spurious-const-from-ao_state_names.patch -- 2.30.2