aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libesmtp/libesmtp
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-26 11:58:11 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-09-08 16:38:58 -0400
commit64e1ba5bf78debdbb16b02b2f4909a1d4806022f (patch)
tree5f61195ff5d892a56df00a838f8ea60310f594d7 /meta-networking/recipes-support/libesmtp/libesmtp
parentee8959421c97425a045bfb9167d57537feb6a082 (diff)
downloadmeta-openembedded-64e1ba5bf78debdbb16b02b2f4909a1d4806022f.tar.gz
libesmtp: Fix config.h define for snprintf detection
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/libesmtp/libesmtp')
-rw-r--r--meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch b/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch
new file mode 100644
index 0000000000..d0d203eadb
--- /dev/null
+++ b/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch
@@ -0,0 +1,19 @@
+Use HAVE_WORKING_SNPRINTF to check for snprintf()
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: libesmtp-1.0.6/missing.h
+===================================================================
+--- libesmtp-1.0.6.orig/missing.h
++++ libesmtp-1.0.6/missing.h
+@@ -43,7 +43,7 @@ int strncasecmp (const char *a, const ch
+ void *memrchr (const void *a, int c, size_t len);
+ #endif
+
+-#ifndef HAVE_SNPRINTF
++#ifndef HAVE_WORKING_SNPRINTF
+ #include <sys/types.h>
+ int snprintf(char *s, size_t n, const char *format, ...);
+ #endif