From: "Chi-Thanh Christopher Nguyen" <chithanh@cs.tu-berlin.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/
Date: Sun, 11 Nov 2012 01:29:54 +0000 (UTC) [thread overview]
Message-ID: <1352597386.d866500c11dc0f3bed6352ef3e5fdc0662f906a0.chithead@gentoo> (raw)
commit: d866500c11dc0f3bed6352ef3e5fdc0662f906a0
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 11 01:29:46 2012 +0000
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
CommitDate: Sun Nov 11 01:29:46 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=d866500c
x11-drivers/ati-drivers: add patch to fix building against AGP-less kernel, bug #435322.
---
.../ati-drivers/ati-drivers-12.11_beta.ebuild | 3 ++
...ivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch | 27 ++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/x11-drivers/ati-drivers/ati-drivers-12.11_beta.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.11_beta.ebuild
index 7cf42e6..dc75442 100644
--- a/x11-drivers/ati-drivers/ati-drivers-12.11_beta.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-12.11_beta.ebuild
@@ -338,6 +338,9 @@ src_prepare() {
# https://bugs.gentoo.org/show_bug.cgi?id=438516
epatch "${FILESDIR}/ati-drivers-vm-reserverd.patch"
+ # compile fix for AGP-less kernel, bug #435322
+ epatch "${FILESDIR}"/ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch
+
cd "${MODULE_DIR}"
# bugged fglrx build system, this file should be copied by hand
diff --git a/x11-drivers/ati-drivers/files/ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch b/x11-drivers/ati-drivers/files/ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch
new file mode 100644
index 0000000..0ea461b
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch
@@ -0,0 +1,27 @@
+From: Vasiliy Yeremeyev <vayerx@gmail.com>
+Date: Sun, 4 Nov 2012 23:59:36 +0400
+Subject: [PATCH] KCL_AGP_FindCapsRegisters stub for AGP-less systems
+
+---
+ common/lib/modules/fglrx/build_mod/kcl_agp.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/common/lib/modules/fglrx/build_mod/kcl_agp.c b/common/lib/modules/fglrx/build_mod/kcl_agp.c
+index b9c0655..cb1902b 100644
+--- a/common/lib/modules/fglrx/build_mod/kcl_agp.c
++++ b/common/lib/modules/fglrx/build_mod/kcl_agp.c
+@@ -479,6 +479,11 @@ int ATI_API_CALL KCL_AGP_Enable(unsigned long mode)
+ return -EINVAL;
+ }
+
++int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev)
++{
++ return -EINVAL;
++}
++
+ int ATI_API_CALL KCL_AGP_ReadCapsRegisters(KCL_PCI_DevHandle dev, unsigned int *caps)
+ {
+ return -EINVAL;
+--
+1.7.12
+
next reply other threads:[~2012-11-11 1:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-11 1:29 Chi-Thanh Christopher Nguyen [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-08 11:19 [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/ Emil Karlson
2015-02-12 20:03 Emil Karlson
2014-11-10 20:07 Emil Karlson
2014-01-22 21:48 Emil Karlson
2013-09-07 6:36 Emil Karlson
2013-06-15 16:49 Emil Karlson
2013-06-10 16:35 Emil Karlson
2013-05-19 0:25 Emil Karlson
2013-05-11 2:15 Emil Karlson
2013-02-15 18:49 Emil Karlson
2012-12-23 17:06 Emil Karlson
2012-10-21 22:21 Emil Karlson
2012-09-14 15:48 Emil Karlson
2012-06-23 14:58 Enrico Tagliavini
2012-06-15 17:21 Enrico Tagliavini
2012-05-26 21:06 Enrico Tagliavini
2012-05-01 13:03 Enrico Tagliavini
2012-04-26 17:53 Enrico Tagliavini
2012-03-08 19:01 Enrico Tagliavini
2011-12-30 15:03 Enrico Tagliavini
2011-10-15 14:39 Enrico Tagliavini
2011-09-28 20:27 Enrico Tagliavini
2011-08-19 10:06 Enrico Tagliavini
2011-05-21 10:00 Enrico Tagliavini
2011-03-30 9:51 Enrico Tagliavini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352597386.d866500c11dc0f3bed6352ef3e5fdc0662f906a0.chithead@gentoo \
--to=chithanh@cs.tu-berlin.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox