[Initscripts-ng-commits] r305 - in /trunk/src/insserv/debian: changelog patches/40_nosusescript.dpatch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Fri Dec 28 13:15:08 UTC 2007


Author: pere
Date: Fri Dec 28 13:15:08 2007
New Revision: 305

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=305
Log:
  * UNRELEASED.
  * Update patch 40_nosusescript to disable unused function setlsb().

Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/patches/40_nosusescript.dpatch

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=305&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Fri Dec 28 13:15:08 2007
@@ -1,3 +1,10 @@
+insserv (1.09.0-3) unstable; urgency=low
+
+  * UNRELEASED.
+  * Update patch 40_nosusescript to disable unused function setlsb().
+
+ -- Petter Reinholdtsen <pere at debian.org>  Tue, 28 Dec 2007 14:24:26 +0100
+
 insserv (1.09.0-2) unstable; urgency=low
 
   * New patch 10_nosuse to disable SUSE specific build.  This make

Modified: trunk/src/insserv/debian/patches/40_nosusescript.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/40_nosusescript.dpatch?rev=305&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/40_nosusescript.dpatch (original)
+++ trunk/src/insserv/debian/patches/40_nosusescript.dpatch Fri Dec 28 13:15:08 2007
@@ -7,6 +7,21 @@
 @DPATCH@
 --- insserv-1.08.0.orig/insserv.c	2007-11-21 17:30:08.000000000 +0100
 +++ insserv-1.08.0/insserv.c	2007-11-21 17:30:33.000000000 +0100
+@@ -438,12 +438,14 @@
+     return serv;
+ }
+ 
++#ifdef SUSE
+ static void setlsb(const char* const name)
+ {
+     serv_t * serv = findserv(name);
+     if (serv)
+ 	serv->opts &= ~SERV_NOTLSB;
+ }
++#endif /* SUSE */
+ 
+ /*
+  * This helps us to set none LSB conform scripts to required
 @@ -1894,6 +1894,7 @@
  	/* main scanner for LSB comment in current script */
  	lsb = scan_script_defaults(d->d_name);




More information about the Initscripts-ng-commits mailing list