diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-01 12:11:45 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-11-01 12:11:45 +0000 |
commit | 2baa9b7f567624817e3179d4634bde77dadaf01b (patch) | |
tree | 473d72edc35fec5981a56433a8192ea6fd25ad01 /media-video | |
parent | Remove old version of dev-haskell/haskell-platform (diff) | |
download | gentoo-2-2baa9b7f567624817e3179d4634bde77dadaf01b.tar.gz gentoo-2-2baa9b7f567624817e3179d4634bde77dadaf01b.tar.bz2 gentoo-2-2baa9b7f567624817e3179d4634bde77dadaf01b.zip |
Missing X11/extensions/xf86vmproto.h include from xf86vidmodeproto to compile with libXxf86vm >= 1.1.0.
(Portage version: 2.2_rc47/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
3 files changed, 26 insertions, 3 deletions
diff --git a/media-video/nvidia-settings/ChangeLog b/media-video/nvidia-settings/ChangeLog index 0b68670d1ffd..7f34740f2f73 100644 --- a/media-video/nvidia-settings/ChangeLog +++ b/media-video/nvidia-settings/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/nvidia-settings # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.76 2009/10/22 05:33:38 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/ChangeLog,v 1.77 2009/11/01 12:11:44 ssuominen Exp $ + + 01 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> + nvidia-settings-190.42.ebuild, + +files/nvidia-settings-190.42-xf86vidmodeproto.patch: + Missing X11/extensions/xf86vmproto.h include from xf86vidmodeproto to + compile with libXxf86vm >= 1.1.0. *nvidia-settings-185.18.36 (22 Oct 2009) diff --git a/media-video/nvidia-settings/files/nvidia-settings-190.42-xf86vidmodeproto.patch b/media-video/nvidia-settings/files/nvidia-settings-190.42-xf86vidmodeproto.patch new file mode 100644 index 000000000000..d42060cba0b9 --- /dev/null +++ b/media-video/nvidia-settings/files/nvidia-settings-190.42-xf86vidmodeproto.patch @@ -0,0 +1,11 @@ +diff -ur nvidia-settings-1.0.orig/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c +--- nvidia-settings-1.0.orig/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c 2009-10-21 07:04:35.000000000 +0300 ++++ nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c 2009-11-01 15:08:53.000000000 +0200 +@@ -28,6 +28,7 @@ + #include "msg.h" + + #include <X11/extensions/xf86vmode.h> ++#include <X11/extensions/xf86vmproto.h> + + #include <stdlib.h> + #include <string.h> diff --git a/media-video/nvidia-settings/nvidia-settings-190.42.ebuild b/media-video/nvidia-settings/nvidia-settings-190.42.ebuild index f2211ca68f1b..ddb3095573bb 100644 --- a/media-video/nvidia-settings/nvidia-settings-190.42.ebuild +++ b/media-video/nvidia-settings/nvidia-settings-190.42.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-190.42.ebuild,v 1.1 2009/10/22 05:22:21 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-settings/nvidia-settings-190.42.ebuild,v 1.2 2009/11/01 12:11:44 ssuominen Exp $ inherit eutils toolchain-funcs multilib flag-o-matic @@ -33,7 +33,13 @@ RDEPEND=">=x11-libs/gtk+-2 x11-libs/libXt x11-drivers/nvidia-drivers" -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-xf86vidmodeproto.patch +} src_compile() { einfo "Building libXNVCtrl..." |