]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
don't redefine CISS_MAX_LUN
authorGuido Guenther <agx@sigxcpu.org>
Mon, 10 Sep 2007 17:47:35 +0000 (19:47 +0200)
committerGuido Guenther <agx@sigxcpu.org>
Mon, 10 Sep 2007 17:47:35 +0000 (19:47 +0200)
debian/patches/30_gcc4.3.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/30_gcc4.3.diff b/debian/patches/30_gcc4.3.diff
new file mode 100644 (file)
index 0000000..8a83537
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/os_linux.cpp b/os_linux.cpp
+index a541e34..ff6c809 100644
+--- a/os_linux.cpp
++++ b/os_linux.cpp
+@@ -109,7 +109,9 @@ typedef struct _ReportLUNdata_struct
+ } ReportLunData_struct;
+ /* Structure/defines of Report Physical LUNS of drive */
++#ifndef CISS_MAX_LUN
+ #define CISS_MAX_LUN        16
++#endif
+ #define CISS_MAX_PHYS_LUN   1024
+ #define CISS_REPORT_PHYS    0xc3
index 9f0c73a94cc74ae94472a5bd48ad540b871dfd46..b381603288cff9de95cb0820f53b65015458901d 100644 (file)
@@ -5,3 +5,4 @@
 05_wait-for-daemon-startup.diff
 10_remove-redhatism.diff
 20_fix-scsi-disk-detection.diff
+30_gcc4.3.diff