diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-03-24 14:46:11 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-25 19:29:49 +0100 |
commit | d5c4cb6db4dec7b31e9d180b5740a03f901914ca (patch) | |
tree | bd6bdf58eb16c132b948d11f9647da82faba76f3 /package/dhcpcd | |
parent | c7ee1bb4d46cd8382f079750fb414b46e1237c53 (diff) |
dhcpcd: fix wrong macro name
Fixes:
http://autobuild.buildroot.net/results/788/788e7103c7c7c0199f221f42be6c22cc9eac3e0b/
http://autobuild.buildroot.net/results/673/673d4a0a334c4694cc4dd05ef99069f681f98f0a/
http://autobuild.buildroot.net/results/4bb/4bbf9e785eb9cb0f916f0a2bdaf7a6a5f639f7ea/
and many more.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcpcd')
-rw-r--r-- | package/dhcpcd/0001-fix-linux-macro-name.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/dhcpcd/0001-fix-linux-macro-name.patch b/package/dhcpcd/0001-fix-linux-macro-name.patch new file mode 100644 index 000000000..18dbb10df --- /dev/null +++ b/package/dhcpcd/0001-fix-linux-macro-name.patch @@ -0,0 +1,25 @@ +Fix Linux define + +Fetched from upstream: +http://roy.marples.name/projects/dhcpcd/ci/2cabc3efee4c18ca?sbs=0 + +Signed-off-by: Baruch Siach <baruch@tkos.co.il> + +Index: dhcpcd.h +================================================================== +--- /dhcpcd.h ++++ /dhcpcd.h +@@ -58,11 +58,11 @@ + + struct interface { + struct dhcpcd_ctx *ctx; + TAILQ_ENTRY(interface) next; + char name[IF_NAMESIZE]; +-#ifdef __linux ++#ifdef __linux__ + char alias[IF_NAMESIZE]; + #endif + unsigned int index; + unsigned int flags; + sa_family_t family; + |