From: Jan Rękorajski Date: Fri, 12 Apr 2013 16:13:42 +0000 (+0200) Subject: - finished update to 13.1 X-Git-Tag: auto/th/xorg-driver-video-fglrx-legacy-13.1-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=5be7cc2a9124cb8754e49eeb82e8d0848e9336c5;p=packages%2Fxorg-driver-video-fglrx-legacy.git - finished update to 13.1 - rel 1 --- diff --git a/xorg-driver-video-fglrx-kernel-fpu.patch b/xorg-driver-video-fglrx-kernel-fpu.patch index 39132e7..ef05d37 100644 --- a/xorg-driver-video-fglrx-kernel-fpu.patch +++ b/xorg-driver-video-fglrx-kernel-fpu.patch @@ -1,6 +1,6 @@ --- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2012-01-21 21:44:22.000000000 +0100 +++ common/lib/modules/fglrx/build_mod/firegl_public.c 2012-01-21 22:21:45.126304477 +0100 -@@ -5791,35 +5791,7 @@ +@@ -5791,36 +5791,7 @@ */ void ATI_API_CALL KCL_fpu_begin(void) { @@ -8,10 +8,11 @@ kernel_fpu_begin(); -#else -#ifdef TS_USEDFPU -- struct thread_info *cur_task = current_thread_info(); +- struct thread_info *cur_thread = current_thread_info(); +- struct task_struct *cur_task = get_current(); - preempt_disable(); -- if (cur_task->status & TS_USEDFPU) -- __save_init_fpu(cur_task->task); +- if (cur_thread->status & TS_USEDFPU) +- __save_init_fpu(cur_task); - else - clts(); -#else diff --git a/xorg-driver-video-fglrx-legacy.spec b/xorg-driver-video-fglrx-legacy.spec index d743010..0c60eee 100644 --- a/xorg-driver-video-fglrx-legacy.spec +++ b/xorg-driver-video-fglrx-legacy.spec @@ -28,7 +28,7 @@ %define arch_dir x86_64 %endif -%define rel 0.1 +%define rel 1 %define pname xorg-driver-video-fglrx-legacy Summary: Linux Drivers for AMD graphics accelerators Summary(pl.UTF-8): Sterowniki do akceleratorów graficznych AMD @@ -193,7 +193,7 @@ Moduł jądra oferujący wsparcie dla AMD FireGL. #%setup -q -c -T %setup -q -c -sh amd-driver-installer-%{version}-legacy-x86.x86_64.run --extract . +sh amd-driver-installer-catalyst-%{version}-legacy-linux-x86.x86_64.run --extract . cp -p arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod