Bug#493397: patch for vzaphfc_main.c

Carlos Martin Ugalde carlos.ugalde at serconi.es
Fri Aug 29 11:37:44 UTC 2008


This patch is also needed to compile zaptel-source against 2.6.26

--- vzaphfc_main.orig.c 2008-06-30 10:25:09.000000000 +0000
+++ vzaphfc_main.c      2008-08-29 11:33:06.000000000 +0000
@@ -46,6 +46,11 @@
 #define B1 1
 #define B2 2

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
+struct proc_dir_entry proc_root;
+struct proc_dir_entry *proc_root_driver = &proc_root;
+#endif
+
 static int modes = 0; // all TE
 static int nt_modes[hfc_MAX_BOARDS] = { [0 ... (hfc_MAX_BOARDS-1)] =
-1 };
 static int force_l1_up = 0;
-- 
________________________________________________________________________
                                   .
Carlos Martín Ugalde              \|/    
SERCONI, S.L.                    \\Y//   Antes de imprimir este correo
Corro-e: servicios at serconi.es    \\|//   Piensa si es realmente necesario
Web: www.serconi.es               \Y/    ¡Ahorra papel!
Tlf: 916 494 407                 __#__
Fax: 916 494 866                 \___/
________________________________________________________________________






More information about the Pkg-voip-maintainers mailing list