pmaports/unity8/mir/0004-sys-poll.h-include-is-incorrect-use-poll.h.patch
Luca Weiss 8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00

25 lines
781 B
Diff

From 65849eebc52c5712a966242bbd5eebcbba4238dd Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Wed, 9 Jan 2019 17:05:47 +0100
Subject: [PATCH 4/7] <sys/poll.h> include is incorrect, use <poll.h>
---
examples/example-server-lib/decoration_provider.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/example-server-lib/decoration_provider.cpp b/examples/example-server-lib/decoration_provider.cpp
index 7fbcbb6772..4458f57316 100644
--- a/examples/example-server-lib/decoration_provider.cpp
+++ b/examples/example-server-lib/decoration_provider.cpp
@@ -25,7 +25,7 @@
#include <ft2build.h>
#include FT_FREETYPE_H
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/eventfd.h>
#include <locale>
#include <codecvt>
--
2.20.1