summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2020-09-02 09:15:00 -0700
committerKhem Raj <raj.khem@gmail.com>2020-09-03 07:54:13 -0700
commit45ccf2f43f73d7c0f945ee0bb99cafb500a0f7fb (patch)
tree298d0b21a2ec0c2b84697cd44c93285a951418a0 /meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch
parent89adc5d3ec0dfe071c613f85ef4eb2bc176c8339 (diff)
downloadmeta-openembedded-45ccf2f43f73d7c0f945ee0bb99cafb500a0f7fb.tar.gz
dhcpcd: pkg moved to core
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch')
-rw-r--r--meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch b/meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch
deleted file mode 100644
index 2c7f24ebfa..0000000000
--- a/meta-networking/recipes-connectivity/dhcpcd/files/0002-Fix-compile-without-IPv6-on-systems-that-do-not-define-ALIGN.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 7643b6615aab4de290ead6c1a6b56f10a82bbe6f Mon Sep 17 00:00:00 2001
2From: Roy Marples <roy@marples.name>
3Date: Sat, 4 Jul 2020 13:21:09 +0100
4Subject: [PATCH] Fix compile without IPv6 on systems that do not define ALIGN
5
6Upstream-Status: backport
7
8---
9 src/dhcpcd.h | 5 -----
10 1 file changed, 5 deletions(-)
11
12diff --git a/src/dhcpcd.h b/src/dhcpcd.h
13index 61a6a081..d9719c0a 100644
14--- a/src/dhcpcd.h
15+++ b/src/dhcpcd.h
16@@ -96,7 +96,6 @@ TAILQ_HEAD(if_head, interface);
17
18 #include "privsep.h"
19
20-#ifdef INET6
21 /* dhcpcd requires CMSG_SPACE to evaluate to a compile time constant. */
22 #if defined(__QNX) || \
23 (defined(__NetBSD_Version__) && __NetBSD_Version__ < 600000000)
24@@ -113,10 +112,6 @@ TAILQ_HEAD(if_head, interface);
25 #define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len))
26 #endif
27
28-#define IP6BUFLEN (CMSG_SPACE(sizeof(struct in6_pktinfo)) + \
29- CMSG_SPACE(sizeof(int)))
30-#endif
31-
32 struct passwd;
33
34 struct dhcpcd_ctx {