Browse Source

package/hotplug2: refresh patches

SVN-Revision: 20462
Gabor Juhos 15 years ago
parent
commit
3b57cccb71

+ 4 - 5
package/hotplug2/patches/100-env_memleak.patch

@@ -1,7 +1,6 @@
-diff -Naur a/action.c b/action.c
---- a/action.c	2009-11-18 13:15:21.000000000 +0000
-+++ b/action.c	2009-11-18 13:11:19.000000000 +0000
-@@ -31,6 +31,30 @@
+--- a/action.c
++++ b/action.c
+@@ -31,6 +31,30 @@ static void action_dumb(const struct set
  }
  }
  
  
  /**
  /**
@@ -32,7 +31,7 @@ diff -Naur a/action.c b/action.c
   * Choose what action should be taken according to passed settings.
   * Choose what action should be taken according to passed settings.
   *
   *
   * @1 Hotplug settings
   * @1 Hotplug settings
-@@ -41,16 +65,25 @@
+@@ -41,16 +65,25 @@ static void action_dumb(const struct set
   */
   */
  void action_perform(struct settings_t *settings, struct uevent_t *event) {
  void action_perform(struct settings_t *settings, struct uevent_t *event) {
  	int i;
  	int i;

+ 5 - 7
package/hotplug2/patches/110-static_worker.patch

@@ -1,6 +1,5 @@
-diff -Naur a/common.mak b/common.mak
---- a/common.mak	2009-11-18 13:15:21.000000000 +0000
-+++ b/common.mak	2009-11-18 13:25:18.000000000 +0000
+--- a/common.mak
++++ b/common.mak
 @@ -1,7 +1,7 @@
 @@ -1,7 +1,7 @@
  # vim:set sw=8 nosta:
  # vim:set sw=8 nosta:
  
  
@@ -10,10 +9,9 @@ diff -Naur a/common.mak b/common.mak
  
  
  CFLAGS=$(COPTS)
  CFLAGS=$(COPTS)
  FPIC=-fPIC
  FPIC=-fPIC
-diff -Naur a/Makefile b/Makefile
---- a/Makefile	2009-11-18 13:15:21.000000000 +0000
-+++ b/Makefile	2009-11-18 13:25:18.000000000 +0000
-@@ -40,5 +40,6 @@
+--- a/Makefile
++++ b/Makefile
+@@ -40,5 +40,6 @@ ifdef STATIC_WORKER
    CFLAGS += -DSTATIC_WORKER=1
    CFLAGS += -DSTATIC_WORKER=1
  else
  else
    CFLAGS += $(FPIC)
    CFLAGS += $(FPIC)