aboutsummaryrefslogtreecommitdiff
path: root/comms/gpredict
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2020-08-28 12:30:55 +0000
committerDiane Bruce <db@FreeBSD.org>2020-08-28 12:30:55 +0000
commitd7216bce462d225ee8aaed1eeae9c47319266209 (patch)
tree537951d837c33161ed645d5569c9ace41bd67e1b /comms/gpredict
parent03d895e7aa3fe7146ac6d72a7fc766c43af9bf9f (diff)
downloadports-d7216bce462d225ee8aaed1eeae9c47319266209.tar.gz
ports-d7216bce462d225ee8aaed1eeae9c47319266209.zip
Fix under clang 11
Notes
Notes: svn path=/head/; revision=546728
Diffstat (limited to 'comms/gpredict')
-rw-r--r--comms/gpredict/Makefile2
-rw-r--r--comms/gpredict/files/patch-src_qth-data.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/gpredict/Makefile b/comms/gpredict/Makefile
index a08927a50613..5f46c82d4671 100644
--- a/comms/gpredict/Makefile
+++ b/comms/gpredict/Makefile
@@ -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}/
diff --git a/comms/gpredict/files/patch-src_qth-data.h b/comms/gpredict/files/patch-src_qth-data.h
new file mode 100644
index 000000000000..e5d1e39cbf51
--- /dev/null
+++ b/comms/gpredict/files/patch-src_qth-data.h
@@ -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;