summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-02-07 21:52:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 23:59:35 +0000
commitadbe09435abf291a163825a4b49582c200be83aa (patch)
treed53acf294c4831ba22788c3393a35f9f66c77ad3 /meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch
parenta470400cf8455d9f6f16905bfae59a3511ae5d4c (diff)
downloadpoky-adbe09435abf291a163825a4b49582c200be83aa.tar.gz
dhcp: Update to 4.2.3-P2
1. Update to 4.2.3-P2 2. From 4.2.0 final release, -lcrypto check was removed and we compile static libraries from bind that are linked to libcrypto. This is why i added a patch in order to add -lcrypto to LIBS. 3. Add openssl in DEPENDS as we need libcrypto from this package 4. Drop installing /var/lib/dhcp/ as it is handled in pkg_postinst (From OE-Core rev: 1cd882c47865a501d5401bad44e1c7f460ce2699) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch
new file mode 100644
index 0000000000..5c635e8dcb
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/dhcp-4.2.3-P2/noattrmode.patch
@@ -0,0 +1,21 @@
1Upstream-Status: Backport
2
3#
4# Patch managed by http://www.holgerschurig.de/patcher.html
5#
6
7--- dhcp-3.0.1/includes/dhcpd.h~compile
8+++ dhcp-3.0.1/includes/dhcpd.h
9@@ -306,9 +306,9 @@
10 # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \
11 UNICAST_BROADCAST_HACK)
12
13- binding_state_t __attribute__ ((mode (__byte__))) binding_state;
14- binding_state_t __attribute__ ((mode (__byte__))) next_binding_state;
15- binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state;
16+ binding_state_t binding_state;
17+ binding_state_t next_binding_state;
18+ binding_state_t desired_binding_state;
19
20 struct lease_state *state;
21