Hi,
Just FYI, this build failure is already fixed in the latest version of
lsof (4.91).
I've attached a backport of the upstream fix. I (or someone else) could
NMU 4.89, but given that we're still a month away from the transition
freeze I'd much rather see lsof updated to the new version. Norbert,
are
you looking for a co-maintainer or someone to take this package?
Thanks,
Andres
--- lsof-4.89+dfsg/tests/LsofTest.h 2008-07-05 09:21:17.000000000 -0700
+++ lsof_4.91_src/tests/LsofTest.h 2018-02-14 06:21:50.000000000 -0800
@@ -31,7 +31,7 @@
/*
- * $Id: LsofTest.h,v 1.12 2008/07/05 16:21:07 abe Exp $
+ * $Id: LsofTest.h,v 1.13 2018/02/14 14:21:44 abe Exp $
*/
@@ -77,6 +77,12 @@
#include <signal.h>
#include <sys/types.h>
+
+#if defined(LT_DIAL_linux) && LT_VERS>=414014
+#undef major
+#include <sys/sysmacros.h>
+#endif /* defined(LT_DIAL_linux) && LT_VERS>=414014 */
+
#include <sys/param.h>
#include <sys/stat.h>