summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-24 00:40:19 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-26 22:10:09 +0100
commit347fb8f88132a5a1f34bec16166f407cb61adca0 (patch)
treea62240fcbe2378d35d76e4b336b3c3897c5747ce
parent65a4b9c01b6e617f245178166cdabc9a9844a98b (diff)
downloadbuildroot-347fb8f88132a5a1f34bec16166f407cb61adca0.tar.gz
buildroot-347fb8f88132a5a1f34bec16166f407cb61adca0.zip
package/ptpd2: Fix musl build
The autobuilders did not catch the error yet because they failed earlier with other packages, but I am continuing the build using the defconfig from: http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/ptpd2/0001-musl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/ptpd2/0001-musl.patch b/package/ptpd2/0001-musl.patch
new file mode 100644
index 0000000000..2e214b2188
--- /dev/null
+++ b/package/ptpd2/0001-musl.patch
@@ -0,0 +1,15 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr ptpd-ptpd-2.3.1.org/src/dep/net.c ptpd-ptpd-2.3.1/src/dep/net.c
+--- ptpd-ptpd-2.3.1.org/src/dep/net.c 2015-06-29 17:13:29.000000000 +0200
++++ ptpd-ptpd-2.3.1/src/dep/net.c 2016-01-24 00:35:44.509860065 +0100
+@@ -82,7 +82,6 @@
+ #ifdef SO_TIMESTAMPING
+ #include <linux/net_tstamp.h>
+ #include <linux/sockios.h>
+-#include <linux/ethtool.h>
+ #endif /* SO_TIMESTAMPING */
+
+ /**
OpenPOWER on IntegriCloud