rpms/sipp/devel sipp--INT_MAX_headers_for_gcc43.diff, NONE, 1.1 sipp.spec, 1.7, 1.8

Peter Lemenkov (peter) fedora-extras-commits at redhat.com
Thu Feb 21 10:37:49 UTC 2008


Author: peter

Update of /cvs/extras/rpms/sipp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22667/devel

Modified Files:
	sipp.spec 
Added Files:
	sipp--INT_MAX_headers_for_gcc43.diff 
Log Message:
Cosmetic change in spec + fixed build with GCC 4.3

sipp--INT_MAX_headers_for_gcc43.diff:

--- NEW FILE sipp--INT_MAX_headers_for_gcc43.diff ---
--- call.cpp~	2007-11-06 13:18:07.000000000 +0300
+++ call.cpp	2008-02-21 13:22:54.000000000 +0300
@@ -41,6 +41,7 @@
 #include <iostream>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <limits.h>
 
 #ifdef PCAPPLAY
 #include "send_packets.h"
--- scenario.cpp~	2007-07-26 14:16:49.000000000 +0400
+++ scenario.cpp	2008-02-21 13:22:19.000000000 +0300
@@ -27,6 +27,7 @@
  */
 
 #include <stdlib.h>
+#include <limits.h>
 #include "sipp.hpp"
 #ifdef HAVE_GSL
 #include <gsl/gsl_rng.h>


Index: sipp.spec
===================================================================
RCS file: /cvs/extras/rpms/sipp/devel/sipp.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sipp.spec	19 Feb 2008 18:40:27 -0000	1.7
+++ sipp.spec	21 Feb 2008 10:37:11 -0000	1.8
@@ -1,12 +1,13 @@
 Summary:	SIP test tool / traffic generator
 Name:		sipp
 Version:	3.0
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 License:	GPLv2+
 Group:		Applications/Communications
 URL:		http://sipp.sourceforge.net/
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz
 Patch0:		sipp--Makefile-fix-paths.diff
+Patch1:		sipp--INT_MAX_headers_for_gcc43.diff
 BuildRequires:	ncurses-devel
 %if 0%{?el4}
 BuildRequires:	libpcap
@@ -29,7 +30,7 @@
 %prep
 %setup -qn %{name}-%{version}.src
 %patch0
-rm -rf pcap/.svn 
+%patch1
 
 %build
 DEBUG_FLAGS="%{optflags}" %{__make} %{?_smp_mflags} pcapplay_ossl
@@ -50,10 +51,13 @@
 %{_datadir}/%{name}
 
 %changelog
+* Thu Feb 21 2008  Peter Lemenkov <lemenkov at gmail.com> 3.0-3
+- Fixed build with GCC 4.3
+- No need to remove .svn leftover
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.0-2
 - Autorebuild for GCC 4.3
 
-
 * Thu Jan 10 2008 Peter Lemenkov <lemenkov at gmail.com> 3.0-1
 - Version 3.0
 - Updated license field




More information about the fedora-extras-commits mailing list