freebsd-ports/comms/unixcw/files/patch-src_cwutils_i18n.c
Stephen Hurd fb1feb30a1 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 <yuri@freebsd.org>
2018-08-08 04:35:54 +00:00

11 lines
287 B
C

--- src/cwutils/i18n.c.orig 2018-08-07 18:50:26 UTC
+++ src/cwutils/i18n.c
@@ -50,7 +50,7 @@ i18n_initialize (void)
const char *
i18n_gettext (const char *msgid)
{
-#if defined(HAVE_LIBINTL_H)
+#if defined(HAVE_GETTEXT)
static int is_initialized = FALSE;
if (!is_initialized)