Browse Source

fish: Fix build with ndk r18

android-5
Fredrik Fornwall 6 years ago
parent
commit
8070e00ed4
  1. 14
      packages/fish/src-common.h.patch

14
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
Loading…
Cancel
Save