summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-05-13 10:30:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-13 20:50:05 +0100
commit6f9da27c76b0b2aacc5f7c4a2392fb14707e750c (patch)
tree2834ce71bf86dd9fa61bad0d87383aab1fcc829a /meta/recipes-extended/groff
parent2bacc725539fa554e99b9b57713b78f36e83ef24 (diff)
downloadpoky-6f9da27c76b0b2aacc5f7c4a2392fb14707e750c.tar.gz
groff: imporve musl support
Drop local fix, backport upstream gnulib fix and translate to tarball groff. Suggested-by: Adrian Bunk <bunk@stusta.de> (From OE-Core rev: 5a33682c907daf359d3f88d96cc152d37e13a915) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/groff')
-rw-r--r--meta/recipes-extended/groff/files/0001-support-musl.patch39
1 files changed, 17 insertions, 22 deletions
diff --git a/meta/recipes-extended/groff/files/0001-support-musl.patch b/meta/recipes-extended/groff/files/0001-support-musl.patch
index e5c817c209..a837b11b1b 100644
--- a/meta/recipes-extended/groff/files/0001-support-musl.patch
+++ b/meta/recipes-extended/groff/files/0001-support-musl.patch
@@ -1,6 +1,6 @@
1From f73df5196c35ef9c4531e4b6b26800c41954fd77 Mon Sep 17 00:00:00 2001 1From 695965c27be74acb5968f19d51af86065c4b71a9 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 11 May 2019 20:00:29 +0800 3Date: Mon, 13 May 2019 09:48:14 +0800
4Subject: [PATCH] support musl 4Subject: [PATCH] support musl
5 5
6... 6...
@@ -16,31 +16,26 @@ Subject: [PATCH] support musl
16| ^~~~~~~ 16| ^~~~~~~
17... 17...
18 18
19Upstream-Status: Pending 19Upstream-Status: Backport [http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=453ff940449bbbde9ec00f0bbf82a359c5598fc7]
20 20
21Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 21Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
22--- 22---
23 lib/math.in.h | 2 ++ 23 gnulib_m4/signbit.m4 | 2 ++
24 1 file changed, 2 insertions(+) 24 1 file changed, 2 insertions(+)
25 25
26diff --git a/lib/math.in.h b/lib/math.in.h 26diff --git a/gnulib_m4/signbit.m4 b/gnulib_m4/signbit.m4
27index c30fc20..16e406a 100644 27index 9e7884d..8b9c70c 100644
28--- a/lib/math.in.h 28--- a/gnulib_m4/signbit.m4
29+++ b/lib/math.in.h 29+++ b/gnulib_m4/signbit.m4
30@@ -2397,11 +2397,13 @@ _GL_EXTERN_C int gl_signbitl (long double arg); 30@@ -31,6 +31,8 @@ AC_DEFUN([gl_SIGNBIT],
31 gl_signbitf (x)) 31 [case "$host_os" in
32 # endif 32 # Guess yes on glibc systems.
33 # ifdef __cplusplus 33 *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;;
34+#if defined(__GLIBC__) 34+ # Guess yes on musl systems.
35 # if defined signbit || defined GNULIB_NAMESPACE 35+ *-musl*) gl_cv_func_signbit="guessing yes" ;;
36 _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit) 36 # Guess yes on native Windows.
37 # undef signbit 37 mingw*) gl_cv_func_signbit="guessing yes" ;;
38 _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit) 38 # If we don't know, assume the worst.
39 # endif
40+# endif //if defined(__GLIBC__)
41 # endif
42 #elif defined GNULIB_POSIXCHECK
43 # if defined signbit
44-- 39--
452.7.4 402.7.4
46 41