--- busybox-1.00/include/libbb.h.orig 2005-02-15 16:48:07.491412688 +0100
+++ busybox-1.00/include/libbb.h 2005-02-15 16:40:15.000000000 +0100
@@ -138,8 +138,8 @@
+ extern char *find_real_root_device_name(void);
extern char *bb_get_line_from_file(FILE *file);
extern char *bb_get_chomped_line_from_file(FILE *file);
- extern char *bb_get_chunk_from_file(FILE *file);
-extern int bb_copyfd_size(int fd1, int fd2, const off_t size);
-extern int bb_copyfd_eof(int fd1, int fd2);
+extern off_t bb_copyfd_size(int fd1, int fd2, const off_t size);
diff -urN busybox-1.00-pre2.org/libbb/printf.c busybox-1.00-pre2/libbb/printf.c
--- busybox-1.00-pre2.org/libbb/printf.c 2003-08-02 23:46:49.000000000 +0200
+++ busybox-1.00-pre2/libbb/printf.c 2003-08-05 00:19:57.000000000 +0200
-@@ -116,7 +116,10 @@
+@@ -120,7 +120,10 @@
* you can extract the information you need from dietstdio.h. See the
* other library implementations for examples.
*/
--#error dietlibc is currently not supported. Please see the commented source.
+-# error dietlibc is currently not supported. Please see the commented source.
+#warning dietlibc is currently not supported. Please see the commented source.
+#warning FORCED BUILD BY PLD PATCH.
+
+#define SET_FERROR_UNLOCKED(S) // ((S)->flags |= 1)
#else /* some other lib */
- /* Please see the comments for the above supported libaries for examples
+ /* Please see the comments for the above supported libraries for examples
diff -urN busybox-1.00-pre2/init/init.c busybox-1.00-pre2.org/init/init.c
--- busybox-1.00-pre2/init/init.c 2003-08-02 23:40:57.000000000 +0200
+++ busybox-1.00-pre2.org/init/init.c 2003-08-02 23:45:30.000000000 +0200
-@@ -157,7 +157,7 @@
+@@ -155,7 +155,7 @@
static char console[CONSOLE_BUFF_SIZE] = _PATH_CONSOLE;
#ifndef CONFIG_SYSLOGD
--static char *log = VC_5;
-+static char *log = VC_12;
+-static char *log_console = VC_5;
++static char *log_console = VC_12;
#endif
static sig_atomic_t got_cont = 0;
static const int LOG = 0x1;
CONFIG_FEATURE_USE_INITTAB=y
CONFIG_FEATURE_INITRD=y
# CONFIG_FEATURE_INIT_COREDUMPS is not set
+# CONFIG_FEATURE_INIT_SWAPON is not set
# CONFIG_FEATURE_EXTRA_QUIET is not set
CONFIG_HALT=y
CONFIG_POWEROFF=y
Summary(pl): Zestaw narzêdzi uniksowych dla systemów wbudowanych
Summary(pt_BR): BusyBox é um conjunto de utilitários UNIX em um único binário
Name: busybox
-Version: 1.00
-Release: 3
+Version: 1.01
+Release: 1
License: GPL
Group: Applications
Source0: http://www.busybox.net/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: 5c7ea9b5d3b3677dfcdcec38b281a756
+# Source0-md5: f250842dae2854a38470ed16a46bba66
Source1: %{name}.config
Source2: %{name}-initrd.config
%{?with_altconfig:Source3: %{cfgfile}}
Patch13: %{name}-ftpput.patch
#http://www.zelow.no/floppyfw/download/Development/Patches/busybox-snapshot/busybox-lzmacat.diff
Patch14: %{name}-lzmacat.diff
-Patch15: %{name}-cvs-20050604.patch
URL: http://www.busybox.net/
BuildRequires: gcc >= 3.2
%{?with_static:BuildRequires: glibc-static}
%prep
%setup -q
-%patch15 -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%files
%defattr(644,root,root,755)
-%doc AUTHORS Changelog README .config
+%doc AUTHORS README .config
%if %{with linkfl}
%attr(755,root,root) /bin/*