aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2018-08-13 00:29:22 +0800
committergirgen <girgen@FreeBSD.org>2018-08-13 00:29:22 +0800
commited21eda860a3e865b28d0abdd3877600bcc491de (patch)
tree965d9185f64803e83a73180a511e86dce838cb74 /security
parent37c64e4a2cbaeae5384ac197ab9f3185f5db1afe (diff)
downloadfreebsd-ports-gnome-ed21eda860a3e865b28d0abdd3877600bcc491de.tar.gz
freebsd-ports-gnome-ed21eda860a3e865b28d0abdd3877600bcc491de.tar.zst
freebsd-ports-gnome-ed21eda860a3e865b28d0abdd3877600bcc491de.zip
Fix build problems with clang < 4 (FreeBSD-10.4)
Diffstat (limited to 'security')
-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>