mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* configure.ac: Require libgcrypt 1.1.94.
Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
This commit is contained in:
parent
c58c97e61f
commit
d84d632583
20 changed files with 630 additions and 428 deletions
|
@ -633,7 +633,7 @@ gpgsm_format_keydesc (ksba_cert_t cert)
|
|||
|
||||
#ifdef ENABLE_NLS
|
||||
/* The Assuan agent protol requires us to transmit utf-8 strings */
|
||||
orig_codeset = bind_textdomain_codeset (PACKAGE, NULL);
|
||||
orig_codeset = bind_textdomain_codeset (PACKAGE_GT, NULL);
|
||||
#ifdef HAVE_LANGINFO_CODESET
|
||||
if (!orig_codeset)
|
||||
orig_codeset = nl_langinfo (CODESET);
|
||||
|
@ -641,7 +641,7 @@ gpgsm_format_keydesc (ksba_cert_t cert)
|
|||
if (orig_codeset)
|
||||
{ /* We only switch when we are able to restore the codeset later. */
|
||||
orig_codeset = xstrdup (orig_codeset);
|
||||
if (!bind_textdomain_codeset (PACKAGE, "utf-8"))
|
||||
if (!bind_textdomain_codeset (PACKAGE_GT, "utf-8"))
|
||||
orig_codeset = NULL;
|
||||
}
|
||||
#endif
|
||||
|
@ -659,7 +659,7 @@ gpgsm_format_keydesc (ksba_cert_t cert)
|
|||
|
||||
#ifdef ENABLE_NLS
|
||||
if (orig_codeset)
|
||||
bind_textdomain_codeset (PACKAGE, orig_codeset);
|
||||
bind_textdomain_codeset (PACKAGE_GT, orig_codeset);
|
||||
#endif
|
||||
xfree (orig_codeset);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue