aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/mapstrings.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/mapstrings.c b/common/mapstrings.c
index 172e198ea..9efe95c0d 100644
--- a/common/mapstrings.c
+++ b/common/mapstrings.c
@@ -154,6 +154,14 @@ map_static_macro_string (const char *string)
membuf_t mb;
char *p;
+ /* We use a hack if we don't use the fixed gpgrt 1.47
+ * (commit 885a287a57cf060b4c5b441822c09d23b8dee2bd) */
+#if GPGRT_VERSION_NUMBER < 0x012f00
+ if (string && !strncmp (string, "Project-Id-Version:", 19)
+ && strstr (string, "PO-Revision-Date:"))
+ return "";
+#endif
+
if ((s = already_mapped (string)))
return s;
s = string;