summaryrefslogtreecommitdiffstats
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:00 +0100
commit5a33682c907daf359d3f88d96cc152d37e13a915 (patch)
tree630e5cfd10c7e5472876b73bd75018855e45575a
parent754baa7ccc8afad300f1a391469b6b428e37f096 (diff)
downloadopenembedded-core-contrib-5a33682c907daf359d3f88d96cc152d37e13a915.tar.gz
openembedded-core-contrib-5a33682c907daf359d3f88d96cc152d37e13a915.tar.bz2
openembedded-core-contrib-5a33682c907daf359d3f88d96cc152d37e13a915.zip
groff: imporve musl support
Drop local fix, backport upstream gnulib fix and translate to tarball groff. Suggested-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 @@
-From f73df5196c35ef9c4531e4b6b26800c41954fd77 Mon Sep 17 00:00:00 2001
+From 695965c27be74acb5968f19d51af86065c4b71a9 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Sat, 11 May 2019 20:00:29 +0800
+Date: Mon, 13 May 2019 09:48:14 +0800
Subject: [PATCH] support musl
...
@@ -16,31 +16,26 @@ Subject: [PATCH] support musl
| ^~~~~~~
...
-Upstream-Status: Pending
+Upstream-Status: Backport [http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=453ff940449bbbde9ec00f0bbf82a359c5598fc7]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
- lib/math.in.h | 2 ++
+ gnulib_m4/signbit.m4 | 2 ++
1 file changed, 2 insertions(+)
-diff --git a/lib/math.in.h b/lib/math.in.h
-index c30fc20..16e406a 100644
---- a/lib/math.in.h
-+++ b/lib/math.in.h
-@@ -2397,11 +2397,13 @@ _GL_EXTERN_C int gl_signbitl (long double arg);
- gl_signbitf (x))
- # endif
- # ifdef __cplusplus
-+#if defined(__GLIBC__)
- # if defined signbit || defined GNULIB_NAMESPACE
- _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit)
- # undef signbit
- _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
- # endif
-+# endif //if defined(__GLIBC__)
- # endif
- #elif defined GNULIB_POSIXCHECK
- # if defined signbit
+diff --git a/gnulib_m4/signbit.m4 b/gnulib_m4/signbit.m4
+index 9e7884d..8b9c70c 100644
+--- a/gnulib_m4/signbit.m4
++++ b/gnulib_m4/signbit.m4
+@@ -31,6 +31,8 @@ AC_DEFUN([gl_SIGNBIT],
+ [case "$host_os" in
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;;
++ # Guess yes on musl systems.
++ *-musl*) gl_cv_func_signbit="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw*) gl_cv_func_signbit="guessing yes" ;;
+ # If we don't know, assume the worst.
--
2.7.4