From fb1feb30a180ba9c26b14dbee428ff700ccc4d65 Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Wed, 8 Aug 2018 04:35:54 +0000 Subject: Update unixcw and xcwcp to latest release. This is also the first version where all the issues are fixed, and support has been included for ALSA and Pulseaudio. The ioctl() issue is resolved, and gettext is properly controlled by the NLS option. I'll be submitting these patches upstream, but due to the low rate of releases, want to get them into ports first. This is heavily modified from the submitted patch as every time anything was tested, a new issue cropped up. PR: 229782 Reported by: Yuri Victorovich --- comms/unixcw/files/patch-src_xcwcp_application.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 comms/unixcw/files/patch-src_xcwcp_application.cc (limited to 'comms/unixcw/files/patch-src_xcwcp_application.cc') diff --git a/comms/unixcw/files/patch-src_xcwcp_application.cc b/comms/unixcw/files/patch-src_xcwcp_application.cc new file mode 100644 index 000000000000..7048e7c4818d --- /dev/null +++ b/comms/unixcw/files/patch-src_xcwcp_application.cc @@ -0,0 +1,18 @@ +--- src/xcwcp/application.cc.orig 2018-08-08 04:24:39 UTC ++++ src/xcwcp/application.cc +@@ -1126,6 +1126,7 @@ void Application::make_auxiliaries_end(v + + void Application::check_audio_system(cw_config_t *config) + { ++#ifndef __FreeBSD__ + if (config->audio_system == CW_AUDIO_ALSA + && cw_is_pa_possible(NULL)) { + +@@ -1137,6 +1138,7 @@ void Application::check_audio_system(cw_ + msgBox.setText(message1 + " " + message2 + message3.arg(config->program_name).arg(config->program_name)); + msgBox.exec(); + } ++#endif + + return; + } -- cgit v1.2.3