--- /dev/null
+diff -dur sipp-3.3.orig/stat.cpp sipp-3.3/stat.cpp
+--- sipp-3.3.orig/stat.cpp 2012-12-22 02:50:15.000000000 +0100
++++ sipp-3.3/stat.cpp 2013-05-17 12:11:26.000000000 +0200
+@@ -1148,7 +1148,7 @@
+ {
+ // if a repartition is present, this field match the repartition name
+ repartitionInfo = (char *)realloc(repartitionInfo, dlen + 1);
+- sprintf(repartitionInfo, stat_delimiter);
++ strcpy(stat_delimiter, repartitionInfo);
+ for(int i=0; i<(sizeOfTab-1); i++)
+ {
+ sprintf(buffer, "%lu%s", tabRepartition[i].nbInThisBorder, stat_delimiter);
#
Summary: SIPp - a performance testing tool for the SIP protocol
Name: sipp
-Version: 3.0
-Release: 5
+Version: 3.3
+Release: 1
License: GPL v2+ except two files under BSD
Group: Applications
-Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.src.tar.gz
-# Source0-md5: 31906c63eb5efa09e0b148c27435cdac
+Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz
+# Source0-md5: f0c4f472fa86de8a528cb91616323617
Patch0: %{name}-headers.patch
+Patch1: %{name}-sprintf.patch
URL: http://sipp.sourceforge.net/
BuildRequires: libpcap-devel
BuildRequires: libstdc++-devel
system.
%prep
-%setup -q -n %{name}-%{version}.src
+%setup -q
%patch0 -p1
+%patch1 -p1
%build