Bug#612845: NVIDIA 96.43.19

Pascal Giard evilynux at gmail.com
Thu Mar 24 14:54:31 UTC 2011


Hi,
 to fix building under kernel 2.6.38, I've modified the
AUTOCONF_INCLUDED.patch to add:

---------------------------------------
+++ b/conftest.h        2011-03-24 10:44:17.000000000 -0400
@@ -303,6 +303,13 @@
  #undef NV_LINUX_SEMAPHORE_H_PRESENT
 #endif

+/* Check for generated/autoconfig.h */
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37)
+ #define NV_GENERATED_AUTOCONF_H_PRESENT
+#else
+ #undef NV_GENERATED_AUTOCONF_H_PRESENT
+#endif
+
 /* Check for linux/cred.h */
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
  #define NV_LINUX_CRED_H_PRESENT
---------------------------------------

I've attached my modified file.

Cheers,

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca)
Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AUTOCONF_INCLUDED.patch
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20110324/892a339f/attachment.bin>


More information about the pkg-nvidia-devel mailing list