aboutsummaryrefslogtreecommitdiff
path: root/security/apache-xml-security-c
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2018-08-12 16:29:22 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2018-08-12 16:29:22 +0000
commit04a718bfd6511aabb4447e3aaf2f010739446255 (patch)
tree965d9185f64803e83a73180a511e86dce838cb74 /security/apache-xml-security-c
parente7339c757d0a13d6a97d78c5b602a209a2c598b1 (diff)
downloadports-04a718bfd6511aabb4447e3aaf2f010739446255.tar.gz
ports-04a718bfd6511aabb4447e3aaf2f010739446255.zip
Fix build problems with clang < 4 (FreeBSD-10.4)
Notes
Notes: svn path=/head/; revision=476996
Diffstat (limited to 'security/apache-xml-security-c')
-rw-r--r--security/apache-xml-security-c/files/patch-xsec_utils_XSECSafeBuffer.cpp11
1 files changed, 11 insertions, 0 deletions
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 <xsec/utils/XSECSafeBuffer.hpp>