From 04a718bfd6511aabb4447e3aaf2f010739446255 Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Sun, 12 Aug 2018 16:29:22 +0000 Subject: Fix build problems with clang < 4 (FreeBSD-10.4) --- .../files/patch-xsec_utils_XSECSafeBuffer.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/apache-xml-security-c/files/patch-xsec_utils_XSECSafeBuffer.cpp (limited to 'security/apache-xml-security-c') diff --git a/security/apache-xml-security-c/files/patch-xsec_utils_XSECSafeBuffer.cpp b/security/apache-xml-security-c/files/patch-xsec_utils_XSECSafeBuffer.cpp new file mode 100644 index 000000000000..7dc60d51e89d --- /dev/null +++ b/security/apache-xml-security-c/files/patch-xsec_utils_XSECSafeBuffer.cpp @@ -0,0 +1,11 @@ +--- xsec/utils/XSECSafeBuffer.cpp.orig 2018-08-12 18:15:47.905481000 +0200 ++++ xsec/utils/XSECSafeBuffer.cpp 2018-08-12 18:21:09.514664000 +0200 +@@ -28,6 +28,8 @@ + * + */ + ++#define __STDC_LIMIT_MACROS ++ + // XSEC includes + + #include -- cgit v1.2.3