Closes: https://bugs.gentoo.org/649496
Package-Manager: Portage-2.3.24, Repoman-2.3.6
--- /dev/null
+--- a/src/atipcirename.h
++++ b/src/atipcirename.h
+@@ -29,6 +29,8 @@
+ #ifndef ATIPCIRENAME_H
+ #define ATIPCIRENAME_H
+
++#include <stdint.h>
++
+ enum region_type {
+ REGION_MEM,
+ REGION_IO
-# 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"
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
+}