Fix under clang 11
This commit is contained in:
parent
03d895e7aa
commit
d7216bce46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546728
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= gpredict
|
||||
DISTVERSION= 2.2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= comms hamradio
|
||||
MASTER_SITES= https://github.com/csete/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
|
||||
|
|
11
comms/gpredict/files/patch-src_qth-data.h
Normal file
11
comms/gpredict/files/patch-src_qth-data.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/qth-data.h.orig 2017-12-29 10:28:07 UTC
|
||||
+++ src/qth-data.h
|
||||
@@ -30,7 +30,7 @@ typedef struct {
|
||||
gint alt; /*!< Altitude above sea level in meters. */
|
||||
} qth_small_t;
|
||||
|
||||
-enum {
|
||||
+static enum {
|
||||
QTH_STATIC_TYPE = 0,
|
||||
QTH_GPSD_TYPE
|
||||
} qth_data_type;
|
Loading…
Reference in a new issue