Author: leigh123linux
Update of /cvs/nonfree/rpms/nvidia-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv10570
Modified Files:
nvidia-kmod.spec
Added Files:
3.6_kernel.patch
Log Message:
* Tue Jul 31 2012 Leigh Scott <leigh123linux(a)googlemail.com> - 1:304.30-1
- Update to 304.30
3.6_kernel.patch:
nv-acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE 3.6_kernel.patch ---
--- a/kernel/nv-acpi.c
+++ b/kernel/nv-acpi.c
@@ -300,7 +300,7 @@ static int nv_acpi_remove(struct acpi_de
if (pNvAcpiObject->notify_handler_installed)
{
// no status returned for this function
- acpi_os_wait_events_complete(NULL);
+ acpi_os_wait_events_complete();
// remove event notifier
status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
nv_acpi_event);
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/devel/nvidia-kmod.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- nvidia-kmod.spec 31 Jul 2012 17:21:52 -0000 1.100
+++ nvidia-kmod.spec 31 Jul 2012 17:41:19 -0000 1.101
@@ -25,6 +25,8 @@
Source11: nvidia-kmodtool-excludekernel-filterfile
+Patch0: 3.6_kernel.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -47,6 +49,14 @@
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfile
%{SOURCE11} --obsolete-name nvidia-newest --obsolete-version "%{version}"
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
%setup -q -c -T -a 0
+# patch loop
+for arch in x86 x64
+do
+pushd nvidiapkg-${arch}
+%patch0 -p1
+popd
+done
+
for kernel_version in %{?kernel_versions} ; do
%ifarch %{ix86}