diff options
Diffstat (limited to 'x11-drivers/xf86-video-r128/xf86-video-r128-6.10.2.ebuild')
-rw-r--r-- | x11-drivers/xf86-video-r128/xf86-video-r128-6.10.2.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-r128/xf86-video-r128-6.10.2.ebuild b/x11-drivers/xf86-video-r128/xf86-video-r128-6.10.2.ebuild index 6bab28438f22..6369cbf866a1 100644 --- a/x11-drivers/xf86-video-r128/xf86-video-r128-6.10.2.ebuild +++ b/x11-drivers/xf86-video-r128/xf86-video-r128-6.10.2.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 XORG_DRI=dri -inherit xorg-2 + +inherit flag-o-matic xorg-2 DESCRIPTION="ATI Rage128 video driver" @@ -13,8 +14,17 @@ IUSE="dri" RDEPEND=">=x11-base/xorg-server-1.2" DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}"/${P}-fix-stdint_h.patch ) + pkg_setup() { XORG_CONFIGURE_OPTIONS=( $(use_enable dri) ) } + +src_configure() { + # always use C11 semantics + append-cflags -std=gnu11 + + xorg-2_src_configure +} |