From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SNSss-00066t-Uh for garchives@archives.gentoo.org; Thu, 26 Apr 2012 17:53:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 324C6E06D7; Thu, 26 Apr 2012 17:53:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E821CE06D7 for ; Thu, 26 Apr 2012 17:53:31 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4379B1B4033 for ; Thu, 26 Apr 2012 17:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0BFCFE5402 for ; Thu, 26 Apr 2012 17:53:30 +0000 (UTC) From: "Enrico Tagliavini" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Enrico Tagliavini" Message-ID: <1335462788.965d150bd941ee81435fdc0353ec166bbdaaca2a.Enrico@gentoo> Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/, x11-drivers/ati-drivers/files/ X-VCS-Repository: proj/x11 X-VCS-Files: x11-drivers/ati-drivers/ati-drivers-12.3.ebuild x11-drivers/ati-drivers/ati-drivers-12.4.ebuild x11-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch X-VCS-Directories: x11-drivers/ati-drivers/ x11-drivers/ati-drivers/files/ X-VCS-Committer: Enrico X-VCS-Committer-Name: Enrico Tagliavini X-VCS-Revision: 965d150bd941ee81435fdc0353ec166bbdaaca2a X-VCS-Branch: master Date: Thu, 26 Apr 2012 17:53:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8b40f4a6-0c87-4a2e-b8ef-a701d6133108 X-Archives-Hash: af5065424ed2bcd9442ee168ce8f481a commit: 965d150bd941ee81435fdc0353ec166bbdaaca2a Author: Enrico Tagliavini gmail com> AuthorDate: Thu Apr 26 17:53:08 2012 +0000 Commit: Enrico Tagliavini gmail com> CommitDate: Thu Apr 26 17:53:08 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/x11.git;a=3Dc= ommit;h=3D965d150b x11-drivers/ati-drivers: version bump to 12.4 Version bump to 12.4, bug #409935 should be fixed --- ...drivers-12.3.ebuild =3D> ati-drivers-12.4.ebuild} | 7 +++++++ .../ati-drivers/files/amd-drivers-3.2.7.1.patch | 19 ++++++++++++++= +++++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/x11-drivers/ati-drivers/ati-drivers-12.3.ebuild b/x11-driver= s/ati-drivers/ati-drivers-12.4.ebuild similarity index 97% rename from x11-drivers/ati-drivers/ati-drivers-12.3.ebuild rename to x11-drivers/ati-drivers/ati-drivers-12.4.ebuild index be41e50..4b062be 100644 --- a/x11-drivers/ati-drivers/ati-drivers-12.3.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild @@ -323,6 +323,13 @@ src_prepare() { # fix needed for at least hardened-sources, see bug #392753 use pax_kernel && epatch "${FILESDIR}"/ati-drivers-12.2-redefine-WARN.p= atch =20 + # fixed fgrlx compilation error on 32-bit x86 arch with kernel 3.3-rc4 = due to commit: + # https://github.com/torvalds/linux/commit/f94edacf998516ac9d849f7bc694= 9a703977a7f3 + # later modified (in 3.3-rc5) by commit: + # https://github.com/torvalds/linux/commit/7e16838d94b566a17b65231073d1= 79bc04d590c8#diff-1 + # and finally backported to kernel 3.2.8. + epatch "${FILESDIR}"/amd-drivers-3.2.7.1.patch + cd "${MODULE_DIR}" =20 # bugged fglrx build system, this file should be copied by hand diff --git a/x11-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch b/x1= 1-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch new file mode 100644 index 0000000..104c878 --- /dev/null +++ b/x11-drivers/ati-drivers/files/amd-drivers-3.2.7.1.patch @@ -0,0 +1,19 @@ +--- a/common/lib/modules/fglrx/build_mod/firegl_public.c ++++ b/common/lib/modules/fglrx/build_mod/firegl_public.c +@@ -5797,10 +5797,16 @@ void ATI_API_CALL KCL_fpu_begin(void) + #ifdef CONFIG_X86_64 + kernel_fpu_begin(); + #else ++#ifndef TS_USEDFPU ++ preempt_disable(); ++ if (__thread_has_fpu(current)) ++ __save_init_fpu(current); ++#else + struct thread_info *cur_task =3D current_thread_info(); + preempt_disable(); + if (cur_task->status & TS_USEDFPU) + __save_init_fpu(cur_task->task); ++#endif + else + clts(); + #endif