aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-28 18:38:43 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-28 18:42:56 +0200
commitaf307d090391717fedcbbb4db7a33115d31786ec (patch)
tree79b4b5c9cbe2111ee6867a4d71c2793732c59639 /testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch
parent44e80ac21d375f4d3f5d01a3d6a00bba7d3669c3 (diff)
downloadaports-af307d090391717fedcbbb4db7a33115d31786ec.tar.bz2
aports-af307d090391717fedcbbb4db7a33115d31786ec.tar.xz
testing/opensmtpd-extras: backport some patches from master
Diffstat (limited to 'testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch')
-rw-r--r--testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch b/testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch
new file mode 100644
index 0000000000..c173626d51
--- /dev/null
+++ b/testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch
@@ -0,0 +1,29 @@
+From b517268af8b467ed2937bd2ee0b47c07347c89b2 Mon Sep 17 00:00:00 2001
+From: Jonas Maurus <jonas-github@maurus.net>
+Date: Wed, 2 Nov 2016 22:50:35 +0100
+Subject: [PATCH] wrap stdint.h in autoconf variables
+
+Signed-off-by: Jonas Maurus <jonas-github@maurus.net>
+
+Patch-Source: https://github.com/OpenSMTPD/OpenSMTPD-extras/commit/b517268af8b467ed2937bd2ee0b47c07347c89b2
+---
+ api/rfc2822.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/api/rfc2822.h b/api/rfc2822.h
+index 0c35830..8bb0a8b 100644
+--- a/api/rfc2822.h
++++ b/api/rfc2822.h
+@@ -19,7 +19,9 @@
+ #ifndef _RFC2822_H_
+ #define _RFC2822_H_
+
++#ifdef HAVE_STDINT_H
+ #include <stdint.h>
++#endif
+
+ #define RFC2822_MAX_LINE_SIZE 4096
+
+--
+2.18.0
+