Author: leigh123linux
Update of /cvs/nonfree/rpms/catalyst-legacy-kmod/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv737
Modified Files:
catalyst-legacy-kmod.spec
Added Files:
3.8_kernel.patch
Log Message:
* Sat Mar 02 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.1-2
- Patch for 3.8 kernel
3.8_kernel.patch:
kcl_acpi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- NEW FILE 3.8_kernel.patch ---
--- lib/modules/fglrx/build_mod/kcl_acpi.c
+++ lib/modules/fglrx/build_mod/kcl_acpi.c
@@ -775,7 +775,9 @@
unsigned int ATI_API_CALL KCL_ACPI_GetHandles(kcl_match_info_t *pInfo)
{
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
- #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
+ pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
+ #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
#else
pInfo->video_handle = pInfo->pcidev->dev.firmware_data;
Index: catalyst-legacy-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/catalyst-legacy-kmod/F-18/catalyst-legacy-kmod.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- catalyst-legacy-kmod.spec 28 Feb 2013 23:43:08 -0000 1.7
+++ catalyst-legacy-kmod.spec 2 Mar 2013 15:00:37 -0000 1.8
@@ -3,7 +3,7 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%global buildforkernels newest
+%global buildforkernels current
# Tweak to have debuginfo - part 1/2
%if 0%{?fedora} > 7
@@ -13,7 +13,7 @@
Name: catalyst-legacy-kmod
Version: 13.1
-Release: 1%{?dist}.6
+Release: 2%{?dist}
# Taken over by kmodtool
Summary: AMD display legacy driver kernel module
Group: System Environment/Kernel
@@ -24,6 +24,7 @@
Patch0: compat_alloc-Makefile.patch
Patch1: 3.5-do_mmap.patch
Patch2: 3.7_kernel.patch
+Patch3: 3.8_kernel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i686
@@ -71,6 +72,7 @@
%patch0 -p0 -b.compat_alloc
%patch1 -p0 -b.3.5-do_mmap
%patch2 -p0 -b.3.7_kernel
+%patch3 -p0 -b.3.8_kernel
popd
for kernel_version in %{?kernel_versions} ; do
@@ -101,6 +103,9 @@
%changelog
+* Sat Mar 02 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.1-2
+- Patch for 3.8 kernel
+
* Thu Feb 28 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 13.1-1.6
- Rebuilt for kernel
Show replies by date