aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch
diff options
context:
space:
mode:
authorEric BENARD <eric@eukrea.com>2011-01-08 05:28:30 +0000
committerEric Bénard <eric@eukrea.com>2011-01-08 10:05:31 +0100
commit732793cefff5ef914860f36c1965caad7eff9af1 (patch)
treed32562bcbd788898920e7fd302ffdb77dfc7879f /recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch
parentbf4dfa0099e84cce86d6572ae06138ba8a25db21 (diff)
downloadopenembedded-732793cefff5ef914860f36c1965caad7eff9af1.tar.gz
busybox-1.8.1 : add latest fixes
patches from : http://busybox.net/downloads/fixes-1.18.1/ * hush : fix wrong prompt problem on empty interactive commants http://git.busybox.net/busybox/commit/?id=642e71a789156a96bcb18e6c5a0f52416c49d3b5 * mkswap : selinux build fix http://git.busybox.net/busybox/commit/?id=e66a212081bcca521760ccff3a2da0deccd99340 * suppress "'fast_strtol_10' defined but not used" warning http://git.busybox.net/busybox/commit/?id=f42c7b8fc161f5b3eb4e9c13f392daf7a11760c8 Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch')
-rw-r--r--recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch b/recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch
new file mode 100644
index 0000000000..cda94bd4fd
--- /dev/null
+++ b/recipes/busybox/busybox-1.18.1/busybox-1.18.1-warning.patch
@@ -0,0 +1,28 @@
+diff -urpN busybox-1.18.1/libbb/procps.c busybox-1.18.1-warning/libbb/procps.c
+--- busybox-1.18.1/libbb/procps.c 2010-12-21 05:29:45.000000000 +0100
++++ busybox-1.18.1-warning/libbb/procps.c 2011-01-07 13:41:22.000000000 +0100
+@@ -154,6 +154,7 @@ static unsigned long fast_strtoul_10(cha
+ return n;
+ }
+
++# if ENABLE_FEATURE_FAST_TOP
+ static long fast_strtol_10(char **endptr)
+ {
+ if (**endptr != '-')
+@@ -162,6 +163,7 @@ static long fast_strtol_10(char **endptr
+ (*endptr)++;
+ return - (long)fast_strtoul_10(endptr);
+ }
++# endif
+
+ static char *skip_fields(char *str, int count)
+ {
+@@ -448,7 +450,7 @@ procps_status_t* FAST_FUNC procps_scan(p
+ //FIXME: is it safe to assume this field exists?
+ sp->last_seen_on_cpu = fast_strtoul_10(&cp);
+ # endif
+-#endif /* end of !ENABLE_FEATURE_TOP_SMP_PROCESS */
++#endif /* FEATURE_FAST_TOP */
+
+ #if ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS
+ sp->niceness = tasknice;