]> git.pld-linux.org Git - packages/e2fsprogs.git/commitdiff
- patch for e2fsprogs to compile with kernel headers which define SCSI_DISK0_MAJOR...
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 19 Dec 2003 00:28:42 +0000 (00:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e2fsprogs-scsi_major.patch -> 1.1

e2fsprogs-scsi_major.patch [new file with mode: 0644]

diff --git a/e2fsprogs-scsi_major.patch b/e2fsprogs-scsi_major.patch
new file mode 100644 (file)
index 0000000..99f88a7
--- /dev/null
@@ -0,0 +1,14 @@
+diff -durN -x '*~' e2fsprogs-1.34.orig/misc/util.c e2fsprogs-1.34/misc/util.c
+--- e2fsprogs-1.34.orig/misc/util.c    2004-12-19 01:11:23.620322096 +0100
++++ e2fsprogs-1.34/misc/util.c 2004-12-19 01:12:32.557842000 +0100
+@@ -32,6 +32,10 @@
+ #include "blkid/blkid.h"
+ #include "util.h"
++#ifndef SCSI_DISK_MAJOR
++#define SCSI_DISK_MAJOR SCSI_DISK0_MAJOR
++#endif
++
+ #ifndef HAVE_STRCASECMP
+ int strcasecmp (char *s1, char *s2)
+ {
This page took 0.085884 seconds and 4 git commands to generate.