summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-09 01:15:43 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-09 01:15:43 +0000
commitadd3fd6bbf554c8603f0f5d98186cacd3c3b210d (patch)
tree914f6e6fe6da66b8742770ed08a3b10586fa237b /x11-drivers/xf86-video-sisusb
parentMarked ~amd64 (diff)
downloadgentoo-2-add3fd6bbf554c8603f0f5d98186cacd3c3b210d.tar.gz
gentoo-2-add3fd6bbf554c8603f0f5d98186cacd3c3b210d.tar.bz2
gentoo-2-add3fd6bbf554c8603f0f5d98186cacd3c3b210d.zip
Fix building with xorg-server-1.5.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-sisusb')
-rw-r--r--x11-drivers/xf86-video-sisusb/ChangeLog6
-rw-r--r--x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-sisusb/ChangeLog b/x11-drivers/xf86-video-sisusb/ChangeLog
index d7815754d2fe..056192a105e8 100644
--- a/x11-drivers/xf86-video-sisusb/ChangeLog
+++ b/x11-drivers/xf86-video-sisusb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-drivers/xf86-video-sisusb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-sisusb/ChangeLog,v 1.30 2009/02/26 07:54:17 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-sisusb/ChangeLog,v 1.31 2009/03/09 01:15:43 vapier Exp $
+
+ 09 Mar 2009; Mike Frysinger <vapier@gentoo.org>
+ xf86-video-sisusb-0.9.1.ebuild:
+ Fix building with xorg-server-1.5.
*xf86-video-sisusb-0.9.1 (26 Feb 2009)
diff --git a/x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.ebuild b/x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.ebuild
index 4678cb45d025..fcdd142eea6a 100644
--- a/x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.ebuild
+++ b/x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.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/x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.ebuild,v 1.1 2009/02/26 07:54:17 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-sisusb/xf86-video-sisusb-0.9.1.ebuild,v 1.2 2009/03/09 01:15:43 vapier Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
@@ -19,3 +19,11 @@ DEPEND="${RDEPEND}
x11-proto/xf86miscproto
x11-proto/xineramaproto
x11-proto/xproto"
+
+src_unpack() {
+ x-modular_src_unpack
+ cd "${S}"
+ # This package relies on the define as xorg-server-1.6 has it, so
+ # sed it back to what xorg-server-1.5 uses
+ sed -i '/XF86_VERSION_NUMERIC/s:\([[:digit:]]\)):\1,0):' src/*.[ch]
+}