public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-voodoo/, x11-drivers/xf86-video-voodoo/files/
@ 2015-08-29 23:32 Matt Turner
  0 siblings, 0 replies; only message in thread
From: Matt Turner @ 2015-08-29 23:32 UTC (permalink / raw
  To: gentoo-commits

commit:     f2cda5a999588b6deb5041ff6d5a6ae31624feca
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 29 23:36:19 2015 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Aug 29 23:36:37 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cda5a9

x11-drivers/xf86-video-voodoo: Add patch to fix compilation.

Bug: https://bugs.gentoo.org/550642

 .../files/xf86-video-voodoo-1.2.5-no-PCITAG.patch  | 26 ++++++++++++++++++++++
 .../xf86-video-voodoo-1.2.5.ebuild                 |  6 ++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/x11-drivers/xf86-video-voodoo/files/xf86-video-voodoo-1.2.5-no-PCITAG.patch b/x11-drivers/xf86-video-voodoo/files/xf86-video-voodoo-1.2.5-no-PCITAG.patch
new file mode 100644
index 0000000..31e7079
--- /dev/null
+++ b/x11-drivers/xf86-video-voodoo/files/xf86-video-voodoo-1.2.5-no-PCITAG.patch
@@ -0,0 +1,26 @@
+From 9172ae566a0e85313fc80ab62b4455393eefe593 Mon Sep 17 00:00:00 2001
+From: Dave Airlie <airlied@redhat.com>
+Date: Mon, 22 Sep 2014 10:56:02 +1000
+Subject: [PATCH] don't use PCITAG in struct anymore
+
+---
+ src/voodoo.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/voodoo.h b/src/voodoo.h
+index bfed497..c3eb64e 100644
+--- a/src/voodoo.h
++++ b/src/voodoo.h
+@@ -23,7 +23,9 @@ typedef struct {
+   
+   Bool		      Voodoo2;		/* Set if Voodoo2 */
+   pciVideoPtr	      PciInfo;		/* PCI data */
++#ifndef XSERVER_LIBPCIACCESS
+   PCITAG	      PciTag;
++#endif
+   CARD32	      PhysBase;
+   
+   CARD32	      Width;		/* Current width */
+-- 
+2.4.6
+

diff --git a/x11-drivers/xf86-video-voodoo/xf86-video-voodoo-1.2.5.ebuild b/x11-drivers/xf86-video-voodoo/xf86-video-voodoo-1.2.5.ebuild
index 2917b2f..dffd9e8 100644
--- a/x11-drivers/xf86-video-voodoo/xf86-video-voodoo-1.2.5.ebuild
+++ b/x11-drivers/xf86-video-voodoo/xf86-video-voodoo-1.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,3 +12,7 @@ IUSE=""
 RDEPEND=">=x11-base/xorg-server-1.0.99"
 DEPEND="${RDEPEND}
 	x11-proto/xf86dgaproto"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-no-PCITAG.patch
+)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-29 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-29 23:32 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-voodoo/, x11-drivers/xf86-video-voodoo/files/ Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox