File: FTBFS_kfreebsd.diff

package info (click to toggle)
lsscsi 0.26-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 732 kB
  • sloc: sh: 3,384; ansic: 2,615; makefile: 15
file content (16 lines) | stat: -rw-r--r-- 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Guillaume Delacour <gui@iroqwa.org>
Subject: Fix FTBFS on kfreebsd by removing obsolete include of linux/major.h
 Linux devices assignement: http://www.kernel.org/doc/Documentation/devices.txt
 Similar issue on sysstat: http://bugs.debian.org/395038
Forwarded: no

--- lsscsi-0.26.orig/src/lsscsi.c	2012-04-19 00:31:38.631582281 +0200
+++ lsscsi-0.26/src/lsscsi.c	2012-04-19 00:31:49.171639196 +0200
@@ -24,7 +24,6 @@
 #include <sys/stat.h>
 #include <dirent.h>
 #include <libgen.h>
-#include <linux/major.h>
 #include <time.h>
 
 static const char * version_str = "0.26  2012/01/31 [svn: r97]";