dfc2f4cd1ada1c6ccc9f8939c691ee0539c45ea9
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / jq / 0001-libm.h-comment-j0-j1-y0-and-y1.patch
1 From e87163425a67938afde96f01b19587ac3348b369 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Sun, 7 Sep 2014 10:49:57 +0200
4 Subject: [PATCH] libm.h: comment j0, j1, y0 and y1
5
6 Those functions are currently not used by jq, but having them in
7 libm.h prevents building with the uClibc C library when it doesn't
8 have DO_XSI_MATH option enabled.
9
10 This issue was spotted by the Buildroot autobuilder system:
11
12   http://autobuild.buildroot.org/results/aaf/aaf3c114e0ca3e265ae32c646ba67f01aaf608bd/build-end.log
13
14 Submitted upstream at https://github.com/stedolan/jq/pull/570.
15
16 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17 ---
18  libm.h | 8 ++++----
19  1 file changed, 4 insertions(+), 4 deletions(-)
20
21 diff --git a/libm.h b/libm.h
22 index f8c52be..8e82fb7 100644
23 --- a/libm.h
24 +++ b/libm.h
25 @@ -10,8 +10,8 @@ LIBM_DD(cosh)
26  LIBM_DD(exp2)
27  LIBM_DD(exp)
28  LIBM_DD(floor)
29 -LIBM_DD(j0)
30 -LIBM_DD(j1)
31 +/* LIBM_DD(j0) */
32 +/* LIBM_DD(j1) */
33  LIBM_DD(log10)
34  LIBM_DD(log2)
35  LIBM_DD(log)
36 @@ -21,8 +21,8 @@ LIBM_DD(sqrt)
37  LIBM_DD(tan)
38  LIBM_DD(tanh)
39  LIBM_DD(tgamma)
40 -LIBM_DD(y0)
41 -LIBM_DD(y1)
42 +/* LIBM_DD(y0) */
43 +/* LIBM_DD(y1) */
44  /* LIBM_DID(jn) */
45  /* LIBM_DID(yn) */
46  /* LIBM_DDD(pow) */
47 -- 
48 2.0.0
49