kumquat-buildroot/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch
Ricardo Martincoski 39424c2899 package: remove numbered subject from patches
As reported by check-package (by calling it directly):
generate your patches with 'git format-patch -N'

Change all affected files using this command:
$ sed 's,^\(Subject: *\[PATCH\)[^]]*,\1,g' \
    -i $(find * -name '*.patch' -type f)

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-11 20:48:58 +01:00

33 lines
817 B
Diff

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] 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