From: Guido Guenther Date: Mon, 10 Sep 2007 17:47:35 +0000 (+0200) Subject: don't redefine CISS_MAX_LUN X-Git-Tag: debian/6.5+svn4324-1~228 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5d9c65684bf43854974055f8fae556c5fa509cf6;p=mirror_smartmontools-debian.git don't redefine CISS_MAX_LUN --- diff --git a/debian/patches/30_gcc4.3.diff b/debian/patches/30_gcc4.3.diff new file mode 100644 index 0000000..8a83537 --- /dev/null +++ b/debian/patches/30_gcc4.3.diff @@ -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 + diff --git a/debian/patches/series b/debian/patches/series index 9f0c73a..b381603 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ 05_wait-for-daemon-startup.diff 10_remove-redhatism.diff 20_fix-scsi-disk-detection.diff +30_gcc4.3.diff