I've NMU'd with the following change:

diff -u iscsitarget-0.4.15+svn148/debian/changelog 
iscsitarget-0.4.15+svn148/debian/changelog
--- iscsitarget-0.4.15+svn148/debian/changelog
+++ iscsitarget-0.4.15+svn148/debian/changelog
@@ -1,3 +1,11 @@
+iscsitarget (0.4.15+svn148-2.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Fix failure to build kernel modules for several architectures with
+    kernel version 2.6.24 or later. (Closes: #480734)
+
+ -- Ben Hutchings <[EMAIL PROTECTED]>  Mon, 19 May 2008 02:01:36 +0100
+
 iscsitarget (0.4.15+svn148-2) unstable; urgency=high
 
   * Fix initscript, thanks to Gilles Mocellin for the patch. (Closes: #470411)
only in patch2:
unchanged:
--- iscsitarget-0.4.15+svn148.orig/kernel/digest.c
+++ iscsitarget-0.4.15+svn148/kernel/digest.c
@@ -5,7 +5,7 @@
  */
 
 #include <asm/types.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 
 #include "iscsi.h"
 #include "digest.h"
--- END ---

I tested that this fixes the failure on MIPS, and doesn't break i386.

Ben.

-- 
Ben Hutchings
Gates has joked that everything goes on and off unexepectedly in the house,
which is run by a high-end PC network built on Windows NT. - Seattle Times

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to