diff options
Diffstat (limited to 'meta/recipes-extended/groff/files/0001-support-musl.patch')
-rw-r--r-- | meta/recipes-extended/groff/files/0001-support-musl.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-extended/groff/files/0001-support-musl.patch b/meta/recipes-extended/groff/files/0001-support-musl.patch deleted file mode 100644 index a837b11b1b..0000000000 --- a/meta/recipes-extended/groff/files/0001-support-musl.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 695965c27be74acb5968f19d51af86065c4b71a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Mon, 13 May 2019 09:48:14 +0800 | ||
4 | Subject: [PATCH] support musl | ||
5 | |||
6 | ... | ||
7 | |./lib/math.h:2877:1: error: 'int signbit(float)' conflicts with a previous declaration | ||
8 | | _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit) | ||
9 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
10 | |In file included from recipe-sysroot/usr/include/c++/8.3.0/math.h:36, | ||
11 | | from ./lib/math.h:27, | ||
12 | | from ./src/include/driver.h:27, | ||
13 | | from src/devices/grodvi/dvi.cpp:20: | ||
14 | |recipe-sysroot/usr/include/c++/8.3.0/cmath:661:3: note: previous declaration 'constexpr bool std::signbit(float)' | ||
15 | | signbit(float __x) | ||
16 | | ^~~~~~~ | ||
17 | ... | ||
18 | |||
19 | Upstream-Status: Backport [http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=453ff940449bbbde9ec00f0bbf82a359c5598fc7] | ||
20 | |||
21 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
22 | --- | ||
23 | gnulib_m4/signbit.m4 | 2 ++ | ||
24 | 1 file changed, 2 insertions(+) | ||
25 | |||
26 | diff --git a/gnulib_m4/signbit.m4 b/gnulib_m4/signbit.m4 | ||
27 | index 9e7884d..8b9c70c 100644 | ||
28 | --- a/gnulib_m4/signbit.m4 | ||
29 | +++ b/gnulib_m4/signbit.m4 | ||
30 | @@ -31,6 +31,8 @@ AC_DEFUN([gl_SIGNBIT], | ||
31 | [case "$host_os" in | ||
32 | # Guess yes on glibc systems. | ||
33 | *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;; | ||
34 | + # Guess yes on musl systems. | ||
35 | + *-musl*) gl_cv_func_signbit="guessing yes" ;; | ||
36 | # Guess yes on native Windows. | ||
37 | mingw*) gl_cv_func_signbit="guessing yes" ;; | ||
38 | # If we don't know, assume the worst. | ||
39 | -- | ||
40 | 2.7.4 | ||
41 | |||