summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-23 17:56:28 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-23 17:56:28 +0000
commitaa725129e840e596bbbf43b80fed6194a0dfbc72 (patch)
tree0578b4c71aab8f3d979d3181a922382acf050816 /toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch
parentaea8cdc96da2e917d66a3ec59fe3b94f424bc570 (diff)
clean up uclibc patch/config version handling a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch b/toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch
new file mode 100644
index 000000000..cfb939105
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.28/120-more_standard_math.patch
@@ -0,0 +1,12 @@
+diff -urN uClibc.old/libm/Makefile uClibc.dev/libm/Makefile
+--- uClibc.old/libm/Makefile 2005-08-18 00:49:41.000000000 +0200
++++ uClibc.dev/libm/Makefile 2005-10-22 00:56:03.106683500 +0200
+@@ -81,6 +81,8 @@
+ w_cosh.c w_exp.c s_fabs.c s_floor.c w_fmod.c s_frexp.c \
+ s_ldexp.c w_log.c w_log10.c s_modf.c w_pow.c s_sin.c \
+ w_sinh.c w_sqrt.c s_tan.c s_tanh.c
++# extra stuff required for some apps
++CSRC+= fpmacros.c nan.c s_rint.c e_hypot.c w_hypot.c s_floorf.c
+ CSRC+= s_expm1.c s_scalbn.c s_copysign.c e_acos.c e_asin.c e_atan2.c \
+ k_cos.c e_cosh.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c \
+ k_sin.c e_sinh.c e_sqrt.c k_tan.c e_rem_pio2.c k_rem_pio2.c \