X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-core%2Fdbus%2Flibdbus-c%2B%2B-0.9.0%2F0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch;fp=recipes-core%2Fdbus%2Flibdbus-c%2B%2B-0.9.0%2F0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch;h=0000000000000000000000000000000000000000;hb=23237f85ab7553403b69a003c0e8f418e9df6a1d;hp=0c2c48746654b89ac1e85a34f7bcea9e72344b0c;hpb=199f3d33307b86420dc5f127614d91914c56fab1;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-core/dbus/libdbus-c++-0.9.0/0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch b/recipes-core/dbus/libdbus-c++-0.9.0/0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch deleted file mode 100644 index 0c2c48746..000000000 --- a/recipes-core/dbus/libdbus-c++-0.9.0/0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 12de53b0f24c478ea4ff6b4e2c55366dbd2f02b1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andr=C3=A9=20Draszik?= -Date: Fri, 25 Nov 2016 09:33:20 +0000 -Subject: [PATCH] use POSIX poll.h instead of sys/poll.h -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -POSIX specifies that is the correct header to -include for poll() - http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html -whereas is only needed for ancient glibc (<2.3), -so let's follow POSIX instead. - -As a side-effect, this silences compilation warnings when -compiling against the musl C-library such as: - -| In file included from ../../libdbus-c++-0.9.0/src/eventloop.cpp:31:0: -| /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] -| #warning redirecting incorrect #include to -| ^~~~~~~ -| In file included from ../../libdbus-c++-0.9.0/src/eventloop-integration.cpp:39:0: -| /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] -| #warning redirecting incorrect #include to -| ^~~~~~~ - -Signed-off-by: André Draszik ---- -Upstream-Status: Submitted [https://github.com/andreas-volz/dbus-cplusplus/pull/3] -Signed-off-by: André Draszik - src/eventloop-integration.cpp | 2 +- - src/eventloop.cpp | 2 +- - src/pipe.cpp | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/eventloop-integration.cpp b/src/eventloop-integration.cpp -index 5776971..271b503 100644 ---- a/src/eventloop-integration.cpp -+++ b/src/eventloop-integration.cpp -@@ -36,7 +36,7 @@ - /* STD */ - #include - #include --#include -+#include - #include - #include - -diff --git a/src/eventloop.cpp b/src/eventloop.cpp -index f622812..7790e1e 100644 ---- a/src/eventloop.cpp -+++ b/src/eventloop.cpp -@@ -28,7 +28,7 @@ - #include - #include - --#include -+#include - #include - - #include -diff --git a/src/pipe.cpp b/src/pipe.cpp -index 01211b3..45c2ba6 100644 ---- a/src/pipe.cpp -+++ b/src/pipe.cpp -@@ -32,7 +32,7 @@ - - /* STD */ - #include --#include -+#include - #include - #include - #include --- -2.10.2 -