fix(ndk-sysroot): delete old cmath/math.h patch that probably doesn't help much anymore
This commit is contained in:
parent
123892391c
commit
395e1c9a7b
|
@ -5,6 +5,7 @@ TERMUX_PKG_MAINTAINER="@termux"
|
|||
# Version should be equal to TERMUX_NDK_{VERSION_NUM,REVISION} in
|
||||
# scripts/properties.sh
|
||||
TERMUX_PKG_VERSION=26b
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://dl.google.com/android/repository/android-ndk-r${TERMUX_PKG_VERSION}-linux.zip
|
||||
TERMUX_PKG_SHA256=ad73c0370f0b0a87d1671ed2fd5a9ac9acfd1eb5c43a7fbfbd330f85d19dd632
|
||||
TERMUX_PKG_AUTO_UPDATE=false
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
--- ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/cmath
|
||||
+++ ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/cmath
|
||||
@@ -301,7 +301,7 @@
|
||||
#include <__type_traits/remove_cv.h>
|
||||
#include "version"
|
||||
|
||||
-#include <math.h>
|
||||
+#include <c++/v1/math.h>
|
||||
|
||||
#ifndef _LIBCPP_MATH_H
|
||||
# error <cmath> tried including <math.h> but didn't find libc++'s <math.h> header. \
|
||||
--- ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/math.h
|
||||
+++ ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/math.h
|
||||
@@ -297,9 +297,7 @@
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
-# if __has_include_next(<math.h>)
|
||||
-# include_next <math.h>
|
||||
-# endif
|
||||
+#include "../../math.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue