aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2018-01-27 18:06:19 +0000
committerAlan Somers <asomers@FreeBSD.org>2018-01-27 18:06:19 +0000
commitfc7345d31fbb8ccf87467ccef56277f012f6184c (patch)
tree76f8ba8c24ab3a27063d7c3afb22e64a598a6ffe /shells
parentbdeaed961eeb840f933374df1ae1793a1f285d32 (diff)
downloadports-fc7345d31fbb8ccf87467ccef56277f012f6184c.tar.gz
ports-fc7345d31fbb8ccf87467ccef56277f012f6184c.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/fish/files/patch-src_common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/fish/files/patch-src_common.h b/shells/fish/files/patch-src_common.h
new file mode 100644
index 000000000000..b544112bdbe7
--- /dev/null
+++ b/shells/fish/files/patch-src_common.h
@@ -0,0 +1,11 @@
+--- src/common.h.orig 2018-01-26 20:48:40 UTC
++++ src/common.h
+@@ -658,7 +658,7 @@ wcstring vformat_string(const wchar_t *format, va_list
+ void append_format(wcstring &str, const wchar_t *format, ...);
+ void append_formatv(wcstring &str, const wchar_t *format, va_list ap);
+
+-#ifdef __cpp_lib_make_unique
++#if __cplusplus >= 201402L
+ using std::make_unique;
+ #else
+ /// make_unique implementation