--- /dev/null
+diff --git a/lib/functions b/lib/functions
+index ced6e97..fac4c46 100644
+--- a/lib/functions
++++ b/lib/functions
+@@ -607,7 +607,7 @@ _daemon_set_ulimits() {
+
+ # A function to start a program (now it's useful on read-only filesystem too)
+ daemon() {
+- local errors="" prog="" end="" waitname="" waittime=""
++ local errors="" prog="" end="" waitname="" waittime=0
+ local exit_code=0
+ local nice=$SERVICE_RUN_NICE_LEVEL
+ local fork user closefds redirfds pidfile makepid chdir=/
Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları
Name: rc-scripts
Version: 0.5.0
-Release: 1
+Release: 2
License: GPL v2
Group: Base
Source0: %{name}-%{version}.tar.gz
# Source0-md5: bb0901b490dc9c6b47d2ae6a5fd3cd5c
+Patch0: misc_fixes.patch
URL: http://svn.pld-linux.org/trac/svn/wiki/packages/rc-scripts
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: popt-devel
BuildRequires: rpm >= 4.4.9-56
Requires(post): fileutils
-%ifarch sparc sparcv9 sparc64
-Requires: agetty
-%endif
Requires: /bin/awk
Requires: /bin/basename
Requires: /bin/gettext
%prep
%setup -q
+%patch0 -p1
# hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch:
#GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic"