rpms/jrtplib/devel jrtplib-3.7.1-cstdio.patch, NONE, 1.1 jrtplib-3.7.1-memcpy.patch, 1.1, 1.2 jrtplib.spec, 1.7, 1.8

Jeffrey C. Ollie jcollie at fedoraproject.org
Fri Feb 27 15:23:28 UTC 2009


Author: jcollie

Update of /cvs/pkgs/rpms/jrtplib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30956

Modified Files:
	jrtplib-3.7.1-memcpy.patch jrtplib.spec 
Added Files:
	jrtplib-3.7.1-cstdio.patch 
Log Message:
* Fri Feb 27 2009 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.7.1-6
- Add a patch to fix snprintf usage.
- Update the memcpy patch to use <cstring> instead of <string.h>


jrtplib-3.7.1-cstdio.patch:

--- NEW FILE jrtplib-3.7.1-cstdio.patch ---
>From 805a17ac786f47990473c5afa7f2c4a416c6169b Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff at ocjtech.us>
Date: Fri, 27 Feb 2009 09:09:17 -0600
Subject: [PATCH] Include <cstdio> for snprintf.

---
 src/rtpdefines.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/rtpdefines.h b/src/rtpdefines.h
index 85eb9d1..40581c4 100644
--- a/src/rtpdefines.h
+++ b/src/rtpdefines.h
@@ -79,6 +79,7 @@
 		#define RTP_SNPRINTF _snprintf
 	#endif
 #else
+	#include <cstdio>
 	#define RTP_SNPRINTF snprintf
 #endif // WIN32 || _WIN32_WCE
 
-- 
1.6.1.3


jrtplib-3.7.1-memcpy.patch:

Index: jrtplib-3.7.1-memcpy.patch
===================================================================
RCS file: /cvs/pkgs/rpms/jrtplib/devel/jrtplib-3.7.1-memcpy.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jrtplib-3.7.1-memcpy.patch	27 Feb 2008 15:53:01 -0000	1.1
+++ jrtplib-3.7.1-memcpy.patch	27 Feb 2009 15:23:27 -0000	1.2
@@ -1,25 +1,25 @@
 diff --git a/src/rtcpcompoundpacketbuilder.cpp b/src/rtcpcompoundpacketbuilder.cpp
-index 8172007..bb4d120 100644
+index 8172007..8fd4510 100644
 --- a/src/rtcpcompoundpacketbuilder.cpp
 +++ b/src/rtcpcompoundpacketbuilder.cpp
 @@ -30,6 +30,8 @@
  
  */
  
-+#include <string.h>
++#include <cstring>
 +
  #include "rtcpcompoundpacketbuilder.h"
  #include "rtcpsrpacket.h"
  #include "rtcprrpacket.h"
 diff --git a/src/rtppacket.cpp b/src/rtppacket.cpp
-index b6d5fda..ecd8871 100644
+index b6d5fda..8c516c7 100644
 --- a/src/rtppacket.cpp
 +++ b/src/rtppacket.cpp
 @@ -30,6 +30,8 @@
  
  */
  
-+#include <string.h>
++#include <cstring>
 +
  #include "rtppacket.h"
  #include "rtpstructs.h"


Index: jrtplib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/jrtplib/devel/jrtplib.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jrtplib.spec	25 Feb 2009 09:46:09 -0000	1.7
+++ jrtplib.spec	27 Feb 2009 15:23:27 -0000	1.8
@@ -1,12 +1,13 @@
 Summary: JRTPLIB is an object-oriented RTP library written in C++
 Name: jrtplib
 Version: 3.7.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jrtplib
 Source0: http://research.edm.uhasselt.be/jori/jrtplib/jrtplib-%{version}.tar.bz2
 Patch0: jrtplib-3.7.1-memcpy.patch
+Patch1: jrtplib-3.7.1-cstdio.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: doxygen
@@ -31,6 +32,7 @@
 %prep
 %setup0 -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # Do not disable building of static libs as that will cause building of
@@ -67,6 +69,10 @@
 %{_libdir}/pkgconfig/jrtplib.pc
 
 %changelog
+* Fri Feb 27 2009 Jeffrey C. Ollie <jeff at ocjtech.us> - 3.7.1-6
+- Add a patch to fix snprintf usage.
+- Update the memcpy patch to use <cstring> instead of <string.h>
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.7.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list