From 2cd5d6eea13e2a4fcfcf864e2cb0b92ac196a3fe Mon Sep 17 00:00:00 2001 From: Christopher McCrory Date: Thu, 27 Sep 2018 07:46:46 -0700 Subject: [PATCH] perl-sys-cpu: fix build failures due to This commit adds a patch that drops an unneeded include, as it causes build failures on uClibc/musl. Fixes: http://autobuild.buildroot.net/results/a87116b34ee0c660537430638e38f7ebbf052024/ Signed-off-by: Christopher McCrory Signed-off-by: Thomas Petazzoni --- .../0001-remove-extraneous-include.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/perl-sys-cpu/0001-remove-extraneous-include.patch diff --git a/package/perl-sys-cpu/0001-remove-extraneous-include.patch b/package/perl-sys-cpu/0001-remove-extraneous-include.patch new file mode 100644 index 0000000000..eb7d8f76a8 --- /dev/null +++ b/package/perl-sys-cpu/0001-remove-extraneous-include.patch @@ -0,0 +1,20 @@ +Drop include + + does not exist in musl or uClibc, so including it +causes a build failure. In glibc, it simply redirects to , +so we can safely drop the inclusion of + +Signed-off-by: Christopher McCrory + +Index: b/CPU.xs +=================================================================== +--- a/CPU.xs ++++ b/CPU.xs +@@ -24,7 +24,6 @@ + #include + #else /* other (try unix) */ + #include +- #include + #endif + #if defined(__sun) || defined(__sun__) + #include -- 2.30.2