]> git.pld-linux.org Git - packages/e2fsprogs.git/blob - e2fsprogs-scsi_major.patch
- patch for e2fsprogs to compile with kernel headers which define SCSI_DISK0_MAJOR...
[packages/e2fsprogs.git] / e2fsprogs-scsi_major.patch
1 diff -durN -x '*~' e2fsprogs-1.34.orig/misc/util.c e2fsprogs-1.34/misc/util.c
2 --- e2fsprogs-1.34.orig/misc/util.c     2004-12-19 01:11:23.620322096 +0100
3 +++ e2fsprogs-1.34/misc/util.c  2004-12-19 01:12:32.557842000 +0100
4 @@ -32,6 +32,10 @@
5  #include "blkid/blkid.h"
6  #include "util.h"
7  
8 +#ifndef SCSI_DISK_MAJOR
9 +#define SCSI_DISK_MAJOR SCSI_DISK0_MAJOR
10 +#endif
11 +
12  #ifndef HAVE_STRCASECMP
13  int strcasecmp (char *s1, char *s2)
14  {
This page took 0.071855 seconds and 3 git commands to generate.