[Pkg-voip-commits] r3853 - in libccrtp/trunk/debian: . patches

kilian at alioth.debian.org kilian at alioth.debian.org
Fri Jul 27 17:39:42 UTC 2007


Author: kilian
Date: 2007-07-27 17:39:42 +0000 (Fri, 27 Jul 2007)
New Revision: 3853

Added:
   libccrtp/trunk/debian/patches/gcc-4.3.patch
Modified:
   libccrtp/trunk/debian/changelog
Log:
* Fix compilation with gcc-4.3 (Closes: #421136)

Modified: libccrtp/trunk/debian/changelog
===================================================================
--- libccrtp/trunk/debian/changelog	2007-07-27 10:55:13 UTC (rev 3852)
+++ libccrtp/trunk/debian/changelog	2007-07-27 17:39:42 UTC (rev 3853)
@@ -2,8 +2,11 @@
 
   * NOT RELEASED YET
 
- -- Mark Purcell <msp at debian.org>  Sat, 17 Feb 2007 13:49:33 +0000
+  [ Kilian Krause ]
+  * Fix compilation with gcc-4.3 (Closes: #421136)
 
+ -- Kilian Krause <kilian at debian.org>  Fri, 27 Jul 2007 19:37:00 +0200
+
 libccrtp (1.5.1-1) unstable; urgency=low
 
   * New upstream release

Added: libccrtp/trunk/debian/patches/gcc-4.3.patch
===================================================================
--- libccrtp/trunk/debian/patches/gcc-4.3.patch	                        (rev 0)
+++ libccrtp/trunk/debian/patches/gcc-4.3.patch	2007-07-27 17:39:42 UTC (rev 3853)
@@ -0,0 +1,66 @@
+--- src/ccrtp/rtppkt.h~	2007-04-26 17:09:32.000000000 +0000
++++ src/ccrtp/rtppkt.h	2007-04-26 17:10:57.000000000 +0000
+@@ -279,11 +279,11 @@
+ 	 **/
+ 	inline uint32
+ 	getRawPacketSize() const
+-	{ return total; };
++	{ return total; }
+ 
+         inline uint32
+         getRawPacketSizeSrtp() const
+-        { return total + srtpLength; };
++        { return total + srtpLength; }
+ 
+         inline size_t
+ 	getSizeOfFixedHeader() const
+@@ -294,7 +294,7 @@
+ 	 * Destructor, free the buffer provided in the constructor.
+ 	 **/
+ 	inline virtual ~RTPPacket()
+-	{ endPacket(); };
++	{ endPacket(); }
+ 
+ 	/**
+ 	 * Free memory allocated for the packet.
+@@ -336,7 +336,7 @@
+ 	 **/
+ 	inline uint32
+ 	getRawTimestamp() const
+-	{ return ntohl(getHeader()->timestamp); };
++	{ return ntohl(getHeader()->timestamp); }
+ 
+ 	inline void
+ 	setbuffer(const void* src, size_t len, size_t pos)
+@@ -465,7 +465,7 @@
+ 	 * @return low level 2833 data structure.
+ 	 */
+ 	inline struct RFC2833Payload *getRaw2833Payload(void)
+-		{return (struct RFC2833Payload *)getPayload();};
++		{return (struct RFC2833Payload *)getPayload();}
+ 
+ 	/**
+ 	 * Fetch 2833 duration field.
+@@ -473,7 +473,7 @@
+ 	 * @return 2833 duration in native host machine byte order.
+ 	 */
+ 	inline uint16 get2833Duration(void)
+-		{return ntohs(getRaw2833Payload()->duration);};
++		{return ntohs(getRaw2833Payload()->duration);}
+ 
+ 	/**
+ 	 * Set 2833 duration field.
+@@ -481,7 +481,7 @@
+ 	 * @param timestamp to use, native host machine byte order.
+ 	 */
+ 	inline void set2833Duration(uint16 timestamp)
+-		{getRaw2833Payload()->duration = htons(timestamp);};
++		{getRaw2833Payload()->duration = htons(timestamp);}
+ };
+ 
+ /**
+@@ -579,7 +579,7 @@
+ 	 **/
+ 	inline void
+ 	setPayloadType(PayloadType pt)
+




More information about the Pkg-voip-commits mailing list