summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/js8call/files')
-rw-r--r--media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch b/media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch
new file mode 100644
index 000000000000..54c5a8e0647f
--- /dev/null
+++ b/media-radio/js8call/files/js8call-2.2.0-hamlib-type.patch
@@ -0,0 +1,20 @@
+--- a/HamlibTransceiver.hpp 2020-06-27 19:35:04.514472802 -0400
++++ b/HamlibTransceiver.hpp 2020-06-27 19:35:34.361368141 -0400
+@@ -12,17 +12,9 @@
+
+ extern "C"
+ {
+-#ifdef JS8_USE_HAMLIB_THREE
+ typedef struct rig RIG;
+-#else
+- typedef struct s_rig RIG;
+-#endif
+ struct rig_caps;
+-#ifdef JS8_USE_HAMLIB_THREE
+ typedef int vfo_t;
+-#else
+- typedef unsigned int vfo_t;
+-#endif
+ }
+
+ // hamlib transceiver and PTT mostly delegated directly to hamlib Rig class