summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-11-17 10:57:54 +0000
committerRémi Cardona <remi@gentoo.org>2008-11-17 10:57:54 +0000
commit98aba91ab5600579505d25d76d5126906f651af7 (patch)
treeaa8fd38ee4c7514eabeca73aec69964ba44dca9b /x11-drivers/xf86-video-intel/files
parentFix patch to apply. (diff)
downloadgentoo-2-98aba91ab5600579505d25d76d5126906f651af7.tar.gz
gentoo-2-98aba91ab5600579505d25d76d5126906f651af7.tar.bz2
gentoo-2-98aba91ab5600579505d25d76d5126906f651af7.zip
x11-drivers/xf86-video-intel: bump to both 2.4.3 and 2.5.1
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-intel/files')
-rw-r--r--x11-drivers/xf86-video-intel/files/2.4.3-0001-never-enable-DRI_MM-on-this-branch.patch25
-rw-r--r--x11-drivers/xf86-video-intel/files/2.5.1-0001-clean-up-man-page-generation-and-remove-all-traces-o.patch117
2 files changed, 142 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/files/2.4.3-0001-never-enable-DRI_MM-on-this-branch.patch b/x11-drivers/xf86-video-intel/files/2.4.3-0001-never-enable-DRI_MM-on-this-branch.patch
new file mode 100644
index 000000000000..8084a5761dd6
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/2.4.3-0001-never-enable-DRI_MM-on-this-branch.patch
@@ -0,0 +1,25 @@
+From 4d7cd8cec7ba56230b298986d7a91a7587984bc4 Mon Sep 17 00:00:00 2001
+From: Remi Cardona <remi@gentoo.org>
+Date: Sun, 19 Oct 2008 23:45:14 +0200
+Subject: [PATCH] never enable DRI_MM on this branch
+
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 809e84d..04e31f3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -202,7 +202,7 @@ if test "$DRI" = yes; then
+ PKG_CHECK_MODULES(DRI, [libdrm xf86driproto glproto])
+ AC_DEFINE(XF86DRI,1,[Enable DRI driver support])
+ AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support])
+- PKG_CHECK_MODULES(DRI_MM, [libdrm >= 2.4.0],[DRI_MM=yes], [DRI_MM=no])
++ DRI_MM="no"
+ if test "x$DRI_MM" = xyes; then
+ AC_DEFINE(XF86DRI_MM,1,[Extended DRI memory management])
+ fi
+--
+1.6.0.2
+
diff --git a/x11-drivers/xf86-video-intel/files/2.5.1-0001-clean-up-man-page-generation-and-remove-all-traces-o.patch b/x11-drivers/xf86-video-intel/files/2.5.1-0001-clean-up-man-page-generation-and-remove-all-traces-o.patch
new file mode 100644
index 000000000000..132acca1a206
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/2.5.1-0001-clean-up-man-page-generation-and-remove-all-traces-o.patch
@@ -0,0 +1,117 @@
+From 63ca3cc11b28f328aafc4564f5df51698e09a7d3 Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org>
+Date: Fri, 14 Nov 2008 13:55:52 +0100
+Subject: [PATCH] clean up man page generation and remove all traces of the i810 driver
+
+---
+ man/Makefile.am | 20 ++------------------
+ src/Makefile.am | 6 ------
+ src/i810.h | 1 -
+ src/i810_driver.c | 19 +------------------
+ 4 files changed, 3 insertions(+), 43 deletions(-)
+
+diff --git a/man/Makefile.am b/man/Makefile.am
+index 7432d5a..ac08621 100644
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -25,21 +25,12 @@
+ #
+
+ drivermandir = $(DRIVER_MAN_DIR)
++driverman_DATA = $(DRIVER_NAME).$(DRIVER_MAN_SUFFIX)
+
+-DRIVER_MAN_DIR_SUFFIX = $(DRIVER_MAN_DIR:@mandir@/man%=%)
+-
+-driverman_PRE = @DRIVER_NAME@.man
+-
+-driverman_DATA = \
+- $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) \
+- i810.@DRIVER_MAN_SUFFIX@
+-
+-EXTRA_DIST = @DRIVER_NAME@.man
++EXTRA_DIST = $(DRIVER_NAME).man
+
+ CLEANFILES = $(driverman_DATA)
+
+-SED = sed
+-
+ # Strings to replace in man pages
+ XORGRELSTRING = @PACKAGE_STRING@
+ XORGMANNAME = X Version 11
+@@ -60,10 +51,3 @@ SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
+
+ .man.$(DRIVER_MAN_SUFFIX):
+ sed $(MAN_SUBSTS) < $< > $@
+-
+-BUILT_SOURCES = shadows.DONE
+-
+-shadows.DONE:
+- -rm -f i810.@DRIVER_MAN_SUFFIX@
+- echo .so man$(DRIVER_MAN_DIR_SUFFIX)/intel.$(DRIVER_MAN_SUFFIX) > \
+- i810.@DRIVER_MAN_SUFFIX@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 232ac53..8e3cfad 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -222,9 +222,3 @@ if XVMC
+ intel_drv_la_SOURCES += \
+ $(INTEL_XVMC_SRCS)
+ endif
+-
+-install-data-local: install-intel_drv_laLTLIBRARIES
+- (cd $(DESTDIR)$(intel_drv_ladir) && rm -f i810_drv.so && ln -s intel_drv.so i810_drv.so)
+-
+-uninstall-local:
+- (cd $(DESTDIR)$(intel_drv_ladir) && rm -f i810_drv.so)
+diff --git a/src/i810.h b/src/i810.h
+index 7ea2043..c88771e 100644
+--- a/src/i810.h
++++ b/src/i810.h
+@@ -70,7 +70,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ #define I810_VERSION 4000
+ #define I810_NAME "intel"
+ #define I810_DRIVER_NAME "intel"
+-#define I810_LEGACY_DRIVER_NAME "i810"
+
+ #define INTEL_VERSION_MAJOR PACKAGE_VERSION_MAJOR
+ #define INTEL_VERSION_MINOR PACKAGE_VERSION_MINOR
+diff --git a/src/i810_driver.c b/src/i810_driver.c
+index cc28ad8..404789d 100644
+--- a/src/i810_driver.c
++++ b/src/i810_driver.c
+@@ -466,21 +466,6 @@ static XF86ModuleVersionInfo intelVersRec = {
+
+ _X_EXPORT XF86ModuleData intelModuleData = { &intelVersRec, i810Setup, NULL };
+
+-static XF86ModuleVersionInfo i810VersRec = {
+- "i810",
+- MODULEVENDORSTRING,
+- MODINFOSTRING1,
+- MODINFOSTRING2,
+- XORG_VERSION_CURRENT,
+- INTEL_VERSION_MAJOR, INTEL_VERSION_MINOR, INTEL_VERSION_PATCH,
+- ABI_CLASS_VIDEODRV,
+- ABI_VIDEODRV_VERSION,
+- MOD_CLASS_VIDEODRV,
+- {0, 0, 0, 0}
+-};
+-
+-_X_EXPORT XF86ModuleData i810ModuleData = { &i810VersRec, i810Setup, NULL };
+-
+ static pointer
+ i810Setup(pointer module, pointer opts, int *errmaj, int *errmin)
+ {
+@@ -715,9 +700,7 @@ I810Probe(DriverPtr drv, int flags)
+ * driver, and return if there are none.
+ */
+ if ((numDevSections =
+- xf86MatchDevice(I810_DRIVER_NAME, &devSections)) <= 0 &&
+- (numDevSections =
+- xf86MatchDevice(I810_LEGACY_DRIVER_NAME, &devSections)) <= 0) {
++ xf86MatchDevice(I810_DRIVER_NAME, &devSections)) <= 0 ) {
+ return FALSE;
+ }
+
+--
+1.6.0.3
+