summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-09-19 21:42:51 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-09-19 21:42:51 +0000
commiteb66022f414039334e1d0c5db38da203cc10a133 (patch)
tree7758ee7e92afedbfa32377bee3bf7b7ba031e74f /www
parentnet/libnatpmp: fix build without gcc (diff)
(Attempt to) fix build on recent head. (clang+libc++)
Submitted by: beefy2 via pkg-fallout
Notes
Notes: svn path=/head/; revision=327650
Diffstat (limited to 'www')
-rw-r--r--www/tntnet/files/patch-libcxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/tntnet/files/patch-libcxx b/www/tntnet/files/patch-libcxx
new file mode 100644
index 000000000000..23720660b457
--- /dev/null
+++ b/www/tntnet/files/patch-libcxx
@@ -0,0 +1,14 @@
+--- a/framework/common/tnt/multipart.h
++++ b/framework/common/tnt/multipart.h
+@@ -75,7 +75,11 @@ namespace tnt
+ : bodyBegin(), bodyEnd()
+ { bodyBegin._C_iter = bodyEnd._C_iter = 0;}
+ #else
++#ifdef _LIBCPP_VERSION
++ : bodyBegin(), bodyEnd()
++#else
+ : bodyBegin(0), bodyEnd(0)
++#endif
+ { }
+ #endif
+