wok view catalyst/stuff/catalyst-2.6.37.patch @ rev 9807

blender: fix BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 14 22:49:17 2011 +0200 (2011-05-14)
parents
children
line source
1 --- work.orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-08-20 21:51:48.000000000 +0200
2 +++ work/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-08-20 23:46:37.000000000 +0200
3 @@ -320,7 +320,11 @@
4 return firegl_release((KCL_IO_FILE_Handle)filp);
5 }
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
8 +int ip_firegl_ioctl(struct file* filp, unsigned int cmd, unsigned long arg)
9 +#else
10 int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg)
11 +#endif
12 {
13 return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg);
14 }
15 @@ -407,7 +411,11 @@
16 #endif
17 open: ip_firegl_open,
18 release: ip_firegl_release,
19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
20 + unlocked_ioctl: ip_firegl_ioctl,
21 +#else
22 ioctl: ip_firegl_ioctl,
23 +#endif
24 mmap: ip_firegl_mmap,
26 write: ip_firegl_write,