From 5e2dfca9e37972d44f19950189d604e39d03f0f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Tue, 7 Dec 2010 06:57:06 +0000 Subject: [PATCH] - updated to 1.09 Changed files: cciss_vol_status.spec -> 1.10 strnlen.patch -> 1.4 --- cciss_vol_status.spec | 8 +++----- strnlen.patch | 11 ----------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 strnlen.patch diff --git a/cciss_vol_status.spec b/cciss_vol_status.spec index 6adafd9..26923fa 100644 --- a/cciss_vol_status.spec +++ b/cciss_vol_status.spec @@ -1,14 +1,13 @@ Summary: Shows status of logical drives attached to HP SmartArray controllers Summary(pl.UTF-8): Wyświetla status logicznych dysków stworzonych w kontrolerach HP SmartArray Name: cciss_vol_status -Version: 1.06 -Release: 3 +Version: 1.09 +Release: 1 License: GPL v2+ Group: Applications Source0: http://dl.sourceforge.net/cciss/%{name}-%{version}.tar.gz -# Source0-md5: 210b97af7adeb601a49ee0e743c4d2b7 +# Source0-md5: 2d94cb0c6abc217de95ade6c66d14132 URL: http://cciss.sourceforge.net/ -Patch0: strnlen.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: linux-libc-headers @@ -25,7 +24,6 @@ dysków kontrolera Smart Array jak również MSA1000. %prep %setup -q -%patch0 -p1 %build %{__aclocal} diff --git a/strnlen.patch b/strnlen.patch deleted file mode 100644 index 993b9dd..0000000 --- a/strnlen.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cciss_vol_status-1.06/cciss_vol_status.c~ 2009-11-18 19:13:06.000000000 +0200 -+++ cciss_vol_status-1.06/cciss_vol_status.c 2009-11-20 19:24:20.856775735 +0200 -@@ -1004,7 +1004,7 @@ - if (status < 0) - return 0; - for (i = 0; prod[i] != NULL; i++) { -- if (strncmp(std_inq+8, prod[i], strnlen(prod[i])) == 0) -+ if (strncmp(std_inq+8, prod[i], strlen(prod[i])) == 0) - return 1; - } - return 0; -- 2.44.0