package/weston: fix build
cover package/weston: fix build
Hello All!
This series fixes the build under musl and disables the build of the devloppers documentation.
Regards,
Yann E. MORIN.
The following changes since commit 961f13eedf461499c7fbb9c1c2bdff9f8b01d079
util-linux: fix ncurses/wchar handling (again) (2017-01-22 17:53:24 +1100)
are available in the git repository at:
git://git.buildroot.org/~ymorin/git/buildroot.git
for you to fetch changes up to ed8826b3fb08068e0473cd8f1037e683844d4373
package/weston: fix build with musl (2017-01-22 14:56:12 +0100)
----------------------------------------------------------------
Yann E. MORIN (2):
package/weston: do not try to build dev docs package/weston: fix build with musl
.../weston/0006-tests-add-missing-include.patch | 36 ++++++++++++++++++++++ package/weston/weston.mk | 1 + 2 files changed, 37 insertions(+) create mode 100644 package/weston/0006-tests-add-missing-include.patch
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/2 package/weston: do not try to build dev docs
The developper's documentation will be automatically built when doxygen is present. But we can't guarantee that it is.
Besides, we are not interested in the devlopper's documentation.
Simply disable it.
--- package/weston/weston.mk | 1 + 1 file changed, 1 insertion(+)
package/weston/weston.mk +1 -0
@@ -20,6 +20,7 @@ WESTON_CONF_OPTS = \ --with-dtddir=$(STAGING_DIR)/usr/share/wayland \ --disable-headless-compositor \ --disable-colord \ + --disable-devdocs \ --disable-setuid-install WESTON_MAKE_OPTS = \
Signature · 1 line
2.7.4
PATCH 2/2 package/weston: fix build with musl
In reply to Yann E. MORINWith musl, stdint.h is not automatically pulled-in by any other header, so it must be explicitly included.
Fixes:
http://autobuild.buildroot.net/results/a2f5811f6029f8f3c87dcbea905b9747d55c9c24
--- .../weston/0006-tests-add-missing-include.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/weston/0006-tests-add-missing-include.patch
package/weston/0006-tests-add-missing-include.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 4c9e149d641a9945c3a8e15707b8712834f08c4f Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <[email protected]> +Date: Sun, 22 Jan 2017 14:46:28 +0100 +Subject: [PATCH] tests: add missing include + +The int32_t type is defined in stdint.h. + +The musl C library is very conservative in the headers that it +internally includes, and stdint.h is not included by any other header, +unlike with glibc or uClibc, which breaks the build. + +Add the missing header. + +Signed-off-by: "Yann E. MORIN" <[email protected]> +--- +Status: sent upstream + https://lists.freedesktop.org/archives/wayland-devel/2017-January/032771.html +--- + tests/string-test.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/string-test.c b/tests/string-test.c +index a72ec30..5571b52 100644 +--- a/tests/string-test.c ++++ b/tests/string-test.c +@@ -28,6 +28,7 @@ + #include <stdlib.h> + #include <stdbool.h> + #include <stdio.h> ++#include <stdint.h> + #include <assert.h> + + #include "shared/string-helpers.h" +-- +2.7.4 +
Signature · 1 line
2.7.4
cover package/weston: fix build
In reply to Yann E. MORINHello,
Quoted 3 lines · Yann E. MORIN
Yann E. MORIN (2):
package/weston: do not try to build dev docs package/weston: fix build with musl
Both applied to master. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com