summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-02-20 14:07:35 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2020-02-20 14:08:12 +0100
commitbbc4141281da3e85b9563af902e3ef3f6c74ec58 (patch)
tree56c733a337c2053742861d3125f6d4c7b9746b4f /media-radio/gpredict/files
parentmedia-radio/gpredict: Drop old (diff)
downloadgentoo-bbc4141281da3e85b9563af902e3ef3f6c74ec58.tar.gz
gentoo-bbc4141281da3e85b9563af902e3ef3f6c74ec58.tar.bz2
gentoo-bbc4141281da3e85b9563af902e3ef3f6c74ec58.zip
media-radio/gpredict: Fix build with -fno-common
Closes: https://bugs.gentoo.org/710196 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/gpredict/files')
-rw-r--r--media-radio/gpredict/files/gpredict-2.2.1-fno-common.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-radio/gpredict/files/gpredict-2.2.1-fno-common.patch b/media-radio/gpredict/files/gpredict-2.2.1-fno-common.patch
new file mode 100644
index 000000000000..cdbffbecb687
--- /dev/null
+++ b/media-radio/gpredict/files/gpredict-2.2.1-fno-common.patch
@@ -0,0 +1,13 @@
+diff --git a/src/qth-data.h b/src/qth-data.h
+index 264f66f..5c6b2de 100644
+--- a/src/qth-data.h
++++ b/src/qth-data.h
+@@ -30,7 +30,7 @@ typedef struct {
+ gint alt; /*!< Altitude above sea level in meters. */
+ } qth_small_t;
+
+-enum {
++typedef enum {
+ QTH_STATIC_TYPE = 0,
+ QTH_GPSD_TYPE
+ } qth_data_type;