Fix gnupg2 build without gettext

This commit is contained in:
Fredrik Fornwall 2015-07-06 08:40:48 -04:00
parent e2302972d1
commit 0c163c297e

View File

@ -0,0 +1,12 @@
diff -u -r ../gnupg-2.1.6/agent/agent.h ./agent/agent.h
--- ../gnupg-2.1.6/agent/agent.h 2015-06-30 16:26:08.000000000 -0400
+++ ./agent/agent.h 2015-07-06 08:39:31.806515184 -0400
@@ -310,7 +310,7 @@
agent_Lunderscore (ctrl_t ctrl, const char *string) \
{ \
return ctrl? i18n_localegettext (ctrl->lc_messages, string) \
- /* */: gettext (string); \
+ /* */: string; \
}