Author: leigh123linux
Update of /cvs/nonfree/rpms/catalyst-kmod/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv26813
Modified Files:
catalyst-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-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/catalyst-kmod/F-18/catalyst-kmod.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- catalyst-kmod.spec 28 Feb 2013 23:42:59 -0000 1.37
+++ catalyst-kmod.spec 2 Mar 2013 12:26:00 -0000 1.38
@@ -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-kmod
Version: 13.1
-Release: 1%{?dist}.9
+Release: 2%{?dist}
# Taken over by kmodtool
Summary: AMD display driver kernel module
Group: System Environment/Kernel
@@ -23,6 +23,7 @@
Source11: catalyst-kmodtool-excludekernel-filterfile
Patch0: compat_alloc-Makefile.patch
Patch1: 3.7_kernel.patch
+Patch2: 3.8_kernel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# needed for plague to make sure it builds for i686
@@ -69,6 +70,7 @@
pushd fglrxpkg
%patch0 -p0 -b.compat_alloc
%patch1 -p0 -b.3.7_kernel
+%patch2 -p0 -b.3.8_kernel
popd
for kernel_version in %{?kernel_versions} ; do
@@ -99,6 +101,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.9
- Rebuilt for kernel
Show replies by date