rpms/fglrx-kmod/F-8 fglrx-kmod-2.6.26.5-firegl_public.patch, NONE, 1.1 fglrx-kmod.spec, 1.4, 1.5

Stewart Adam firewing at rpmfusion.org
Thu Oct 23 18:01:40 CEST 2008


Author: firewing

Update of /cvs/nonfree/rpms/fglrx-kmod/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17636

Modified Files:
	fglrx-kmod.spec 
Added Files:
	fglrx-kmod-2.6.26.5-firegl_public.patch 
Log Message:
Add patch to fix x86_64 + 2.6.26

fglrx-kmod-2.6.26.5-firegl_public.patch:

--- NEW FILE fglrx-kmod-2.6.26.5-firegl_public.patch ---
--- firegl_public.c.orig	2008-10-14 08:25:30.000000000 -0700
+++ firegl_public.c	2008-10-19 18:54:45.000000000 -0700
@@ -2348,7 +2348,7 @@
 {
 /*Some kernel developer removed the export of symbol "flush_tlb_page" on 2.6.25 x86_64 SMP kernel.
   Define a simple version here.*/
-#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) 
+#if defined(__x86_64__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) 
     on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
 #else
     flush_tlb_page(vma, va);


Index: fglrx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/fglrx-kmod/F-8/fglrx-kmod.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fglrx-kmod.spec	17 Oct 2008 13:53:04 -0000	1.4
+++ fglrx-kmod.spec	23 Oct 2008 16:01:39 -0000	1.5
@@ -15,7 +15,7 @@
 
 Name:        fglrx-kmod
 Version:     8.542
-Release:     3.%{ativersion}%{?dist}.1
+Release:     4.%{ativersion}%{?dist}.1
 # Taken over by kmodtool
 Summary:     AMD display driver kernel module
 Group:       System Environment/Kernel
@@ -24,7 +24,8 @@
 Source0:     http://www.diffingo.com/downloads/livna/kmod-data/fglrx-kmod-data-%{version}.tar.bz2
 Source11:    fglrx-kmodtool-excludekernel-filterfile
 # These control kernel version detection
-Patch1:      fglrx-makefile.diff
+Patch0:      fglrx-makefile.diff
+Patch1:      fglrx-kmod-2.6.26.5-firegl_public.patch
 
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -72,7 +73,8 @@
 
 # These control kernel version detection
 pushd fglrxpkg/lib/modules/fglrx/build_mod/
-%patch1 -b .patch1
+%patch0 -b .patch0
+%patch1 -b .firegl
 popd
 
 for kernel_version  in %{kernel_versions} ; do
@@ -101,6 +103,9 @@
 
 
 %changelog
+* Thu Oct 23 2008 Stewart Adam <s.adam at diffingo.com> - 8.542-4.8.10.1
+- Add patch to fix x86_64 + 2.6.26
+
 * Fri Oct 17 2008 kwizart < kwizart at gmail.com > - 8.542-3.8.10.1
 - Drop the make.sh layer
 



More information about the rpmfusion-commits mailing list