Missed a bugfix patch. Also, allow multiple patches.
This commit is contained in:
parent
b228a0ca96
commit
6b2ca0199e
@ -15,7 +15,7 @@ $(DL_DIR)/$(DNSMASQ1_SOURCE):
|
||||
|
||||
$(DNSMASQ1_DIR)/.source: $(DL_DIR)/$(DNSMASQ1_SOURCE)
|
||||
zcat $(DL_DIR)/$(DNSMASQ1_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
||||
patch -p1 -d $(DNSMASQ1_DIR) < $(SOURCE_DIR)/dnsmasq1.patch
|
||||
$(SOURCE_DIR)/patch-kernel.sh $(DNSMASQ1_DIR) $(SOURCE_DIR) dnsmasq1-*.patch
|
||||
touch $(DNSMASQ1_DIR)/.source
|
||||
|
||||
$(DNSMASQ1_DIR)/$(DNSMASQ1_BINARY): $(DNSMASQ1_DIR)/.source
|
||||
|
@ -10,3 +10,16 @@
|
||||
#define HAVE_GETOPT_LONG
|
||||
#undef HAVE_ARC4RANDOM
|
||||
#define HAVE_RANDOM
|
||||
diff -x CVS -urN dnsmasq-1.18/option.c dnsmasq.old/option.c
|
||||
--- dnsmasq-1.18/option.c 2003-11-05 08:22:18.000000000 -0600
|
||||
+++ dnsmasq.old/option.c 2004-01-05 23:40:11.000000000 -0600
|
||||
@@ -578,8 +578,8 @@
|
||||
#ifdef HAVE_IPV6
|
||||
else if (tmp->source_addr.sa.sa_family == AF_INET6)
|
||||
tmp->source_addr.in6.sin6_port = htons(*query_port);
|
||||
- }
|
||||
#endif
|
||||
+ }
|
||||
}
|
||||
|
||||
if (*if_addrs)
|
Loading…
Reference in New Issue
Block a user