tags 326922 patch
thanks
Hi,
The attached simple patch fixes the FTBFS, with it raidutils built
successfully in up-to-day unstable chroot on sparc.
Best regards,
Jurij Smakov [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
diff -aur a/raideng/i2odep.h b/raideng/i2odep.h
--- a/raideng/i2odep.h 2004-04-29 03:19:53.000000000 -0700
+++ b/raideng/i2odep.h 2006-09-01 23:13:27.000000000 -0700
@@ -203,7 +203,7 @@
# define _F_set12bit4(w,x,y,z,u) ((w)->z = (u))
# define _F_get16bit(w,x,y,z) ((U16)((w)->z))
# define _F_set16bit(w,x,y,z,u) ((w)->z = (u))
-#elif (defined(_DPT_BIG_ENDIAN))
+#elif (defined(_DPT_BIG_ENDIAN) || defined(sparc))
/* First 12 bits */
# define _F_getTID(w,x,y) getL12bit(w,x,0)
# define _F_setTID(w,x,y,z) setL12bit(w,x,0,z)