public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Emil Karlson" <jekarlson@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/, profiles/
Date: Fri,  9 Aug 2013 08:33:15 +0000 (UTC)	[thread overview]
Message-ID: <1376036968.a5bd3d63c1aba80bcd8564b6d4b642c03df8c0f4.emil_karlson@gentoo> (raw)

commit:     a5bd3d63c1aba80bcd8564b6d4b642c03df8c0f4
Author:     Emil Karlson <jekarlson <AT> gmail <DOT> com>
AuthorDate: Fri Aug  9 08:29:28 2013 +0000
Commit:     Emil Karlson <jekarlson <AT> gmail <DOT> com>
CommitDate: Fri Aug  9 08:29:28 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=a5bd3d63

x11-drivers/ati-drivers: add patch to fix 13.8-beta proc permissions.

Thanks for V10lator for pointing out the patch in
http://phoronix.com/forums/showthread.php?82948-AMD-Catalyst-13-8-Beta-Driver-For-Linux-Released&p=348029#post348029

Unmask ati-drivers as it now works for me (though not sure about memory
leaks some people are encountering).

---
 profiles/package.mask                                       |  3 ---
 x11-drivers/ati-drivers/ati-drivers-13.8_beta.ebuild        |  1 +
 .../files/ati-drivers-13.8-proc-permissions.diff            | 13 +++++++++++++
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index f74262c..973f0da 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -121,6 +121,3 @@
 =x11-proto/xf86vidmodeproto-9999
 =x11-proto/xineramaproto-9999
 =x11-proto/xproto-9999
-
-# Known to broken/untested
-=x11-drivers/ati-drivers-13.8_beta

diff --git a/x11-drivers/ati-drivers/ati-drivers-13.8_beta.ebuild b/x11-drivers/ati-drivers/ati-drivers-13.8_beta.ebuild
index 0e621d7..c94ea56 100644
--- a/x11-drivers/ati-drivers/ati-drivers-13.8_beta.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-13.8_beta.ebuild
@@ -301,6 +301,7 @@ src_prepare() {
 	epatch "${FILESDIR}/ati-drivers-13.8-beta-include-seq_file.patch"
 
 	epatch "${FILESDIR}/check-for-iommu-only-if-iommu-is-supported.patch"
+	epatch "${FILESDIR}/ati-drivers-13.8-proc-permissions.diff"
 
 	# Compile fix, https://bugs.gentoo.org/show_bug.cgi?id=454870
 	use pax_kernel && epatch "${FILESDIR}/const-notifier-block.patch"

diff --git a/x11-drivers/ati-drivers/files/ati-drivers-13.8-proc-permissions.diff b/x11-drivers/ati-drivers/files/ati-drivers-13.8-proc-permissions.diff
new file mode 100644
index 0000000..26015f4
--- /dev/null
+++ b/x11-drivers/ati-drivers/files/ati-drivers-13.8-proc-permissions.diff
@@ -0,0 +1,13 @@
+diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c
+index 22561c5..6480d1a 100755
+--- a/common/lib/modules/fglrx/build_mod/firegl_public.c
++++ b/common/lib/modules/fglrx/build_mod/firegl_public.c
+@@ -821,7 +821,7 @@ static struct proc_dir_entry *firegl_proc_init( device_t *dev,
+     KCL_DEBUG1(FN_FIREGL_PROC, "minor %d, proc_list 0x%08lx\n", minor, (unsigned long)proc_list);
+     if (!minor)
+     {
+-        root = KCL_create_proc_dir(NULL, "ati", S_IFDIR);
++        root = KCL_create_proc_dir(NULL, "ati", S_IFDIR|S_IRUGO|S_IXUGO);
+     }
+ 
+     if (!root)


             reply	other threads:[~2013-08-09  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09  8:33 Emil Karlson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-25 21:19 [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/, profiles/ Emil Karlson
2013-08-02 11:41 Emil Karlson

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=1376036968.a5bd3d63c1aba80bcd8564b6d4b642c03df8c0f4.emil_karlson@gentoo \
    --to=jekarlson@gmail.com \
    --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