summaryrefslogtreecommitdiffstats
path: root/package/faifa
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-30 16:33:06 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-02 09:13:44 +0100
commit5c8ad2644fbfc3c0e00fcdf4a8ea48d8cc1b8ac3 (patch)
tree947b9620ad6ce22b8d2e77627bb60ddf9a2a683f /package/faifa
parent3dd53276b09b857581b03e65857339cdc0e6e771 (diff)
downloadbuildroot-5c8ad2644fbfc3c0e00fcdf4a8ea48d8cc1b8ac3.tar.gz
buildroot-5c8ad2644fbfc3c0e00fcdf4a8ea48d8cc1b8ac3.zip
package/faifa: fix musl build
Fixes http://autobuild.buildroot.net/results/dc6/dc6e4d7327d2031ef921cccd814605dec73a0f9c/ http://autobuild.buildroot.net/results/868/868642325dbcd581373eaa9e1ef900f8a27f9121/ and others Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/faifa')
-rw-r--r--package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch b/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch
new file mode 100644
index 0000000000..6f340c3509
--- /dev/null
+++ b/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch
@@ -0,0 +1,32 @@
+From 36eed08a3783df6bb8d92d3c80cd47d0660eeb12 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sat, 30 Jan 2016 16:27:37 +0100
+Subject: [PATCH 1/1] hpav_cfg.c: do not include linux/if_ether.h for musl
+ compatibility
+
+Fixes a build issue with the musl C library
+http://autobuild.buildroot.net/results/dc6/dc6e4d7327d2031ef921cccd814605dec73a0f9c/build-end.log
+
+Patch sent upstream: https://github.com/ffainelli/faifa/pull/13
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ hpav_cfg.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/hpav_cfg.c b/hpav_cfg.c
+index 7cc53af..45d3f0a 100644
+--- a/hpav_cfg.c
++++ b/hpav_cfg.c
+@@ -53,8 +53,6 @@
+ #include <arpa/inet.h>
+ #include <net/if.h>
+
+-#include <linux/if_ether.h>
+-
+ #include "homeplug_av.h"
+ #include "crypto.h"
+
+--
+2.7.0.rc3
+
OpenPOWER on IntegriCloud