rpms/libmp4v2/devel libmp4v2-1.5.0.1-consts.patch, NONE, 1.1 libmp4v2.spec, 1.5, 1.6

Caolan McNamara caolanm at fedoraproject.org
Sun Mar 1 17:46:41 UTC 2009


Author: caolanm

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

Modified Files:
	libmp4v2.spec 
Added Files:
	libmp4v2-1.5.0.1-consts.patch 
Log Message:
constify rets of strchr(const char*)

libmp4v2-1.5.0.1-consts.patch:

--- NEW FILE libmp4v2-1.5.0.1-consts.patch ---
diff -ru libmp4v2-1.5.0.1.orig/rtphint.cpp libmp4v2-1.5.0.1/rtphint.cpp
--- libmp4v2-1.5.0.1.orig/rtphint.cpp	2009-03-01 17:39:24.000000000 +0000
+++ libmp4v2-1.5.0.1/rtphint.cpp	2009-03-01 17:39:58.000000000 +0000
@@ -314,7 +314,7 @@
 	char **ppEncodingParams)
 {
   const char* pRtpMap;
-  char* pSlash;
+  const char* pSlash;
   u_int32_t length;
 	InitPayload();
 


Index: libmp4v2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libmp4v2/devel/libmp4v2.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libmp4v2.spec	25 Feb 2009 16:22:49 -0000	1.5
+++ libmp4v2.spec	1 Mar 2009 17:46:10 -0000	1.6
@@ -8,6 +8,7 @@
 Source0: http://resare.com/libmp4v2/dist/libmp4v2-%{version}.tar.bz2
 # Only here to be in the source package, "just in case, and FYI"
 Source1: http://resare.com/libmp4v2/mklibmp4v2/mklibmp4v2-r51.tar.bz2
+Patch0: libmp4v2-1.5.0.1-consts.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 %description
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .consts
 
 
 %build
@@ -68,6 +70,9 @@
 
 
 %changelog
+* Sun Mar 01 2009 Caolán McNamara <caolanm at redhat.com> - 1.5.0.1-8
+- constify rets of strchr(const char*)
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.0.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list