]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
busybox: fix df.patch
authorTodd Blumer <todd@sdgsystems.com>
Sat, 22 Jul 2006 17:13:19 +0000 (19:13 +0200)
committerRene Wagner <rw@handhelds.org>
Sat, 22 Jul 2006 17:13:19 +0000 (19:13 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/busybox/busybox-1.00/df.patch
org.handhelds.familiar/packages/busybox/busybox-1.01/df.patch
org.handhelds.familiar/packages/busybox/busybox_1.00.bb
org.handhelds.familiar/packages/busybox/busybox_1.01.bb

index 5acb28d338f310f5aeee30dec792fac7446cda6f..49888293fdba28fdbeed323424273a4106e509bb 100644 (file)
@@ -1,15 +1,14 @@
---- busybox-1.00/coreutils/df.c        2004-08-02 20:14:01.000000000 -0400
-+++ busybox-1.00/coreutils/df.c.new    2006-06-29 10:56:43.256528750 -0400
-@@ -117,6 +117,8 @@
-               }
+--- busybox-1.00/coreutils/df.c.orig   2006-07-14 09:50:47.914912750 -0400
++++ busybox-1.00/coreutils/df.c        2006-07-14 09:52:32.613456000 -0400
+@@ -60,6 +60,7 @@
+       struct statfs s;
+       static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */
+       const char *disp_units_hdr = hdr_1k;
++      int root_done = 0;
  
-               if ((s.f_blocks > 0) || !mount_table){
-+                      int root_done = 0;
-+
-                       blocks_used = s.f_blocks - s.f_bfree;
-                       blocks_percent_used = 0;
-                       if (blocks_used + s.f_bavail) {
-@@ -125,14 +127,14 @@
+ #ifdef CONFIG_FEATURE_HUMAN_READABLE
+       bb_opt_complementaly = "h-km:k-hm:m-hk";
+@@ -125,14 +126,14 @@
                                                                           ) / (blocks_used + s.f_bavail);
                        }
  
index 5acb28d338f310f5aeee30dec792fac7446cda6f..49888293fdba28fdbeed323424273a4106e509bb 100644 (file)
@@ -1,15 +1,14 @@
---- busybox-1.00/coreutils/df.c        2004-08-02 20:14:01.000000000 -0400
-+++ busybox-1.00/coreutils/df.c.new    2006-06-29 10:56:43.256528750 -0400
-@@ -117,6 +117,8 @@
-               }
+--- busybox-1.00/coreutils/df.c.orig   2006-07-14 09:50:47.914912750 -0400
++++ busybox-1.00/coreutils/df.c        2006-07-14 09:52:32.613456000 -0400
+@@ -60,6 +60,7 @@
+       struct statfs s;
+       static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */
+       const char *disp_units_hdr = hdr_1k;
++      int root_done = 0;
  
-               if ((s.f_blocks > 0) || !mount_table){
-+                      int root_done = 0;
-+
-                       blocks_used = s.f_blocks - s.f_bfree;
-                       blocks_percent_used = 0;
-                       if (blocks_used + s.f_bavail) {
-@@ -125,14 +127,14 @@
+ #ifdef CONFIG_FEATURE_HUMAN_READABLE
+       bb_opt_complementaly = "h-km:k-hm:m-hk";
+@@ -125,14 +126,14 @@
                                                                           ) / (blocks_used + s.f_bavail);
                        }
  
index 8659a496ce3c22ee7f71751ecc04156a742d4c94..9f3c837175c20e6f244f17df1e26494a2ac1be8b 100644 (file)
@@ -10,7 +10,7 @@ HOMEPAGE = "http://www.busybox.net"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
-PR = "r34"
+PR = "r35"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
            file://add-getkey-applet.patch;patch=1 \
index 62482c6d398c4af20c2ffdc08e32c06e1476f119..e4caceef14e94230a39b3437edea5a9421e75a4e 100644 (file)
@@ -10,7 +10,7 @@ HOMEPAGE = "http://www.busybox.net"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
-PR = "r1"
+PR = "r2"
 
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_nslu2 = ""