The following commit has been merged in the master branch:
commit ccab816ad740009781d525167b6733f3ec0ff04d
Author: Patrick Winnertz <win...@debian.org>
Date:   Mon Mar 8 16:43:26 2010 +0100

    Fix one configure target, which uses undefined HAVE_EXPORTFS_H variable
    
    Signed-off-by: Patrick Winnertz <win...@debian.org>

diff --git a/debian/patches/fix_dentry_conf_test.dpatch 
b/debian/patches/fix_dentry_conf_test.dpatch
new file mode 100644
index 0000000..ca85a71
--- /dev/null
+++ b/debian/patches/fix_dentry_conf_test.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## no_default_debugging.patch by Patrick Winnertz <win...@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: HAVE_LINUX_EXPORTFS_H not defined in configure target :S
+
+...@dpatch@
+diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4
+index d01d8e0..ac8eb0e 100644
+--- a/lustre/autoconf/lustre-core.m4
++++ b/lustre/autoconf/lustre-core.m4
+@@ -1243,11 +1243,8 @@ LB_LINUX_TRY_COMPILE([
+ AC_DEFUN([LC_FH_TO_DENTRY],
+ [AC_MSG_CHECKING([if kernel has .fh_to_dentry member in export_operations 
struct])
+ LB_LINUX_TRY_COMPILE([
+-#ifdef HAVE_LINUX_EXPORTFS_H
+-        #include <linux/exportfs.h>
+-#else
+-        #include <linux/fs.h>
+-#endif
++#include <linux/exportfs.h>
++#include <linux/fs.h>
+ ],[
+         struct export_operations exp;
+ 

-- 
Lustre Debian Packaging 

_______________________________________________
Pkg-lustre-svn-commit mailing list
Pkg-lustre-svn-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-lustre-svn-commit

Reply via email to