Skip to contentSkip to conversation

dhcpcd: fix wrong macro name

PATCH New Baruch Siach 2 participants 2 messages Mar 24, 2015 – Mar 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/dhcpcd/0001-fix-linux-macro-name.patch | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 package/dhcpcd/0001-fix-linux-macro-name.patch
package/dhcpcd/0001-fix-linux-macro-name.patch new file +25 -0
new file mode 100644
index 000000000000..18dbb10dfda2
@@ -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 <[email protected]>
+
+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;
+
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 dhcpcd: fix wrong macro name

Dear Baruch Siach,

Quoted 8 lines · Baruch Siach

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.

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com