]> git.pld-linux.org Git - packages/X11-driver-firegl.git/commitdiff
- conditional build for 2.6.20 kernel only (Marek Guevara Braun idea) auto/th/xorg-driver-video-fglrx-8_34_8-1 auto/th/xorg-driver-video-fglrx-8_35_5-1
authorvip <vip@pld-linux.org>
Fri, 23 Feb 2007 12:08:45 +0000 (12:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch -> 1.2

xorg-driver-video-fglrx-2.6.20-restore_syscalls.patch

index 91bbef28787a40b6393a2b47e0f5d88505f2faef..097ff99f4d9a1146c3f96c769eb1aeab2fec8b6c 100644 (file)
@@ -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 { \
@@ -67,6 +68,7 @@
 +__syscall_return(type,__res); \
 +}
 +#endif
++#endif
 +
  // int mlock(const void *addr, size_t len);
  _syscall2(int, mlock, const void *, addr, size_t, len )
This page took 0.146309 seconds and 4 git commands to generate.