mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
setlocale() was not called if configured with --disable-nls. fix this as setlocale() needs to be set in musl for nl_langinfo to work.
13 lines
390 B
Diff
13 lines
390 B
Diff
--- gnupg-2.1.7/common/i18n.c.orig 2015-08-31 20:40:18.752742866 +0300
|
|
+++ gnupg-2.1.7/common/i18n.c 2015-08-31 20:40:41.806336224 +0300
|
|
@@ -85,8 +85,8 @@
|
|
bindtextdomain (PACKAGE_GT, gnupg_localedir ());
|
|
textdomain (PACKAGE_GT);
|
|
#else
|
|
-# ifdef ENABLE_NLS
|
|
setlocale (LC_ALL, "" );
|
|
+# ifdef ENABLE_NLS
|
|
bindtextdomain (PACKAGE_GT, LOCALEDIR);
|
|
textdomain (PACKAGE_GT);
|
|
# endif
|