Fix under clang 11

This commit is contained in:
Diane Bruce 2020-08-28 12:30:55 +00:00
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

View file

@ -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}/

View 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;