summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-03-23 19:38:33 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-03-23 19:38:33 +0000
commitc81cbc9bcd3fec62cb5a57e21be3da322f518f15 (patch)
tree2d333ea653581dbd7521779b43eb0745a9b63275 /x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild
parentUnmask binutils-apple-3.2-r1 sooner than expected, since it is the key to sol... (diff)
downloadgentoo-2-c81cbc9bcd3fec62cb5a57e21be3da322f518f15.tar.gz
gentoo-2-c81cbc9bcd3fec62cb5a57e21be3da322f518f15.tar.bz2
gentoo-2-c81cbc9bcd3fec62cb5a57e21be3da322f518f15.zip
add patch for bug 298352
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild')
-rw-r--r--x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild b/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild
new file mode 100644
index 000000000000..91119da5faf1
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.18_pre20100211-r1.ebuild,v 1.1 2010/03/23 19:38:32 chithanh Exp $
+
+EAPI=2
+SNAPSHOT="yes"
+inherit x-modular
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
+
+DESCRIPTION="X.Org libdrm library"
+HOMEPAGE="http://dri.freedesktop.org/"
+if [[ ${PV} = 9999* ]]; then
+ SRC_URI=""
+else
+ SRC_URI="mirror://gentoo/${P}.tar.bz2"
+fi
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+RESTRICT="test" # see bug #236845
+
+RDEPEND="dev-libs/libpthread-stubs"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ # Fixes buidling of x11-drivers/xf86-video-openchrome, Gentoo bug 298352,
+ # upstream bug 26994
+ "${FILESDIR}"/2.4.18-0001-datatypes.patch
+ )
+
+pkg_setup() {
+ # Fails to build on ARM if dev-libs/libatomic_ops is installed, bug 297630
+ CONFIGURE_OPTIONS="--enable-udev --enable-nouveau-experimental-api $(use_enable !arm intel) $(use_enable !arm radeon)"
+}
+
+pkg_postinst() {
+ x-modular_pkg_postinst
+
+ ewarn "libdrm's ABI may have changed without change in library name"
+ ewarn "Please rebuild media-libs/mesa, x11-base/xorg-server and"
+ ewarn "your video drivers in x11-drivers/*."
+}