From 8070e00ed4141bb2cc9d627578c87c352c0656c5 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 22 Sep 2018 00:10:12 +0200 Subject: [PATCH] fish: Fix build with ndk r18 --- packages/fish/src-common.h.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/fish/src-common.h.patch diff --git a/packages/fish/src-common.h.patch b/packages/fish/src-common.h.patch new file mode 100644 index 000000000..b46bf8479 --- /dev/null +++ b/packages/fish/src-common.h.patch @@ -0,0 +1,14 @@ +https://reviews.freebsd.org/D14058 + +diff -u -r ../fish-2.7.1/src/common.h ./src/common.h +--- ../fish-2.7.1/src/common.h 2017-12-22 16:16:29.000000000 +0000 ++++ ./src/common.h 2018-09-21 22:05:33.472645301 +0000 +@@ -658,7 +658,7 @@ + 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