Oh well, this one was really easy.
Closes: https://bugs.gentoo.org/610652
Package-Manager: Portage-2.3.31, Repoman-2.3.9
--- /dev/null
+diff -ruN weston-1.11.0.orig/src/weston-launch.c weston-1.11.0/src/weston-launch.c
+--- weston-1.11.0.orig/src/weston-launch.c 2015-10-24 02:02:43.000000000 +0200
++++ weston-1.11.0/src/weston-launch.c 2018-04-30 00:02:42.528120347 +0200
+@@ -37,6 +37,7 @@
+ #include <getopt.h>
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
+ #include <sys/wait.h>
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
VIRTUALX_REQUIRED="test"
RESTRICT="test"
-inherit autotools readme.gentoo-r1 toolchain-funcs virtualx $GIT_ECLASS
+inherit autotools readme.gentoo-r1 toolchain-funcs virtualx epatch $GIT_ECLASS
DESCRIPTION="Wayland reference compositor"
HOMEPAGE="https://wayland.freedesktop.org/"
"
src_prepare() {
+ epatch "${FILESDIR}/${P}-sysmacros.patch"
if [[ ${PV} = 9999* ]]; then
eautoreconf
fi