[Lunar-commits] r17822 - moonbase/trunk/devel/hal

Florin Braescu florin at lunar-linux.org
Tue Dec 27 22:16:40 UTC 2005


Author: florin
Date: 2005-12-27 22:16:39 +0000 (Tue, 27 Dec 2005)
New Revision: 17822

Modified:
   moonbase/trunk/devel/hal/BUILD
Log:
this fix compilation with 2.6 kernels.

Modified: moonbase/trunk/devel/hal/BUILD
===================================================================
--- moonbase/trunk/devel/hal/BUILD	2005-12-27 21:48:03 UTC (rev 17821)
+++ moonbase/trunk/devel/hal/BUILD	2005-12-27 22:16:39 UTC (rev 17822)
@@ -1,6 +1,8 @@
 (
 
-    #sedit "s:SG_FLAG_LUN_:SG_FLAG_UNUSED_LUN_:"  hald/linux/linux_dvd_rw_utils.c  &&
+    if module_installed kernel-headers-2.6; then
+        sedit "s:SG_FLAG_LUN_:SG_FLAG_UNUSED_LUN_:" hald/linux2/probing/linux_dvd_rw_utils.c
+     fi  &&
 
     add_priv_user haldaemon:haldaemon -d /dev/null -s /bin/false  &&
    



More information about the Lunar-commits mailing list