Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the latest svn...
[openwrt/openwrt.git] / package / hotplug2 / patches / 110-static_worker.patch
1 diff -Naur a/common.mak b/common.mak
2 --- a/common.mak 2009-11-18 13:15:21.000000000 +0000
3 +++ b/common.mak 2009-11-18 13:25:18.000000000 +0000
4 @@ -1,7 +1,7 @@
5 # vim:set sw=8 nosta:
6
7 COPTS=-Os -Wall -g
8 -LDFLAGS=-g -ldl
9 +LDFLAGS=-g
10
11 CFLAGS=$(COPTS)
12 FPIC=-fPIC
13 diff -Naur a/Makefile b/Makefile
14 --- a/Makefile 2009-11-18 13:15:21.000000000 +0000
15 +++ b/Makefile 2009-11-18 13:25:18.000000000 +0000
16 @@ -40,5 +40,6 @@
17 CFLAGS += -DSTATIC_WORKER=1
18 else
19 CFLAGS += $(FPIC)
20 + LDFLAGS += -ldl
21 endif
22