summaryrefslogtreecommitdiff
path: root/comms/unixcw/files/patch-src_cwutils_dictionary.h
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-12-28 22:18:48 +0000
committerDiane Bruce <db@FreeBSD.org>2013-12-28 22:18:48 +0000
commitf4f040963dd13d8d3ff8480b8c68140affa48e6a (patch)
treeb83459bd94a65382ae5a3e8c8db337a5e5166aa6 /comms/unixcw/files/patch-src_cwutils_dictionary.h
parent- Enable stage support (diff)
- Use distribution from sourceforge which updates us to 3.2.0
- This unbreaks unixcw on QT4 - Use stage - Add LICENSE
Diffstat (limited to 'comms/unixcw/files/patch-src_cwutils_dictionary.h')
-rw-r--r--comms/unixcw/files/patch-src_cwutils_dictionary.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/comms/unixcw/files/patch-src_cwutils_dictionary.h b/comms/unixcw/files/patch-src_cwutils_dictionary.h
new file mode 100644
index 000000000000..82afa7feb3c2
--- /dev/null
+++ b/comms/unixcw/files/patch-src_cwutils_dictionary.h
@@ -0,0 +1,19 @@
+--- src/cwutils/dictionary.h.orig 2013-01-03 17:12:43.000000000 -0500
++++ src/cwutils/dictionary.h 2013-07-15 18:50:15.000000000 -0500
+@@ -41,6 +41,7 @@
+
+ /* Everything below is deprecated. */
+ typedef struct cw_dictionary_s dictionary;
++#if 0
+
+ extern int dictionary_load(const char *file) __attribute__ ((deprecated("Use cw_dictionaries_read()")));
+ extern void dictionary_unload(void) __attribute__ ((deprecated("Use cw_dictionaries_unload()")));
+@@ -51,7 +52,7 @@
+ extern const char *get_dictionary_description(const dictionary *dict) __attribute__ ((deprecated("Use cw_dictionary_get_description()")));
+ extern int get_dictionary_group_size(const dictionary *dict) __attribute__ ((deprecated("Use cw_dictionary_get_group_size()")));
+ extern const char *get_dictionary_random_word(const dictionary *dict) __attribute__ ((deprecated("Use cw_dictionary_get_random_word()")));
+-
++#endif
+ #if defined(__cplusplus)
+ }
+ #endif