SOURCES: xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch - c...

vip vip at pld-linux.org
Fri Feb 23 13:08:50 CET 2007


Author: vip                          Date: Fri Feb 23 12:08:50 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- conditional build for 2.6.20 kernel only (Marek Guevara Braun idea)

---- Files affected:
SOURCES:
   xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch
diff -u SOURCES/xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch:1.1 SOURCES/xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch:1.2
--- SOURCES/xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch:1.1	Mon Feb 19 10:50:29 2007
+++ SOURCES/xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch	Fri Feb 23 13:08:45 2007
@@ -1,9 +1,10 @@
---- xorg-driver-video-fglrx-8.33.6/common/lib/modules/fglrx/build_mod/firegl_public.c.orig	2007-01-09 12:26:33.000000000 +0100
-+++ xorg-driver-video-fglrx-8.33.6/common/lib/modules/fglrx/build_mod/firegl_public.c	2007-01-31 02:06:52.539021699 +0100
-@@ -194,6 +194,70 @@
+--- xorg-driver-video-fglrx-8.34.8/common/lib/modules/fglrx/build_mod/firegl_public.c.orig	2007-02-20 19:23:07.000000000 +0100
++++ xorg-driver-video-fglrx-8.34.8/common/lib/modules/fglrx/build_mod/firegl_public.c	2007-02-23 12:55:25.645523715 +0100
+@@ -200,6 +200,72 @@
  int errno;
  #endif // __ia64__
  
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
 +#if defined(__i386__)
 +#define __syscall_return(type, res) \
 +do { \
@@ -66,6 +67,7 @@
 + "d" ((long)(arg3)) : __syscall_clobber); \
 +__syscall_return(type,__res); \
 +}
++#endif
 +#endif
 +
  // int mlock(const void *addr, size_t len);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list