pull in fixes for gcc-10 compilation debian/1.9.7-2
authorBdale Garbee <bdale@gag.com>
Wed, 4 Aug 2021 07:38:22 +0000 (01:38 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 4 Aug 2021 07:38:22 +0000 (01:38 -0600)
debian/changelog
debian/patches/fixes-for-gcc-10.diff [new file with mode: 0644]
debian/patches/series

index 1e1b1eae8215bbbbff56081b0167083accb275bb..641663dc99f00d6e6729884d70281e9058e81180 100644 (file)
@@ -1,3 +1,9 @@
+altos (1.9.7-2) unstable; urgency=medium
+
+  * pull in fix from master branch for gcc-10 compilation, closes: #991800
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 03 Aug 2021 09:44:09 -0600
+
 altos (1.9.7-1) unstable; urgency=medium
 
   [ Keith Packard ]
diff --git a/debian/patches/fixes-for-gcc-10.diff b/debian/patches/fixes-for-gcc-10.diff
new file mode 100644 (file)
index 0000000..ad2f375
--- /dev/null
@@ -0,0 +1,21 @@
+--- altos-1.9.7.orig/src/lpc/lpc.h
++++ altos-1.9.7/src/lpc/lpc.h
+@@ -868,7 +868,7 @@ struct lpc_usb {
+       vuint32_t       introuting;
+       uint32_t        r30;
+       vuint32_t       eptoggle;
+-} lpc_usb;
++};
+ extern struct lpc_usb lpc_usb;
+ #define lpc_usb (*(struct lpc_usb *) 0x40080000)
+--- altos-1.9.7.orig/src/micropeak-v2.0/ao_micro.c
++++ altos-1.9.7/src/micropeak-v2.0/ao_micro.c
+@@ -23,7 +23,6 @@
+ #include <ao_report_micro.h>
+ #include <ao_log_micro.h>
+-uint32_t      pa;
+ alt_t         ground_alt, max_alt;
+ alt_t         ao_max_height;
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..77c163c262ff038ac0c376cb7ad357641f010c82 100644 (file)
@@ -0,0 +1 @@
+fixes-for-gcc-10.diff