summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-12-16 08:38:15 +0000
committerPeter Volkov <pva@gentoo.org>2008-12-16 08:38:15 +0000
commit199c06d257136a9d8412564cda44b249358e7a1a (patch)
treebc500516cc1411a4ebf3bc296ac6461e74e88093 /dev-libs/jrtplib/files
parentApply upstream patch 20080718 correctly (#247607). (diff)
downloadhistorical-199c06d257136a9d8412564cda44b249358e7a1a.tar.gz
historical-199c06d257136a9d8412564cda44b249358e7a1a.tar.bz2
historical-199c06d257136a9d8412564cda44b249358e7a1a.zip
Fixed gcc-4.3 build problem, bug #227551, thank Evil Compile Person for report and Yaroslav Gorbunov, Marek Miller for the fix.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.26-openvz.git-89451f9 i686
Diffstat (limited to 'dev-libs/jrtplib/files')
-rw-r--r--dev-libs/jrtplib/files/jrtplib-3.7.1-gcc43.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/jrtplib/files/jrtplib-3.7.1-gcc43.patch b/dev-libs/jrtplib/files/jrtplib-3.7.1-gcc43.patch
new file mode 100644
index 000000000000..0fd2917defc0
--- /dev/null
+++ b/dev-libs/jrtplib/files/jrtplib-3.7.1-gcc43.patch
@@ -0,0 +1,24 @@
+diff -Nurpa jrtplib-3.7.1.orig/src/rtcpcompoundpacketbuilder.cpp jrtplib-3.7.1/src/rtcpcompoundpacketbuilder.cpp
+--- jrtplib-3.7.1.orig/src/rtcpcompoundpacketbuilder.cpp 2008-12-16 08:58:06.000000000 +0300
++++ jrtplib-3.7.1/src/rtcpcompoundpacketbuilder.cpp 2008-12-16 08:59:54.000000000 +0300
+@@ -42,6 +42,8 @@
+
+ #include "rtpdebug.h"
+
++#include <cstring>
++
+ RTCPCompoundPacketBuilder::RTCPCompoundPacketBuilder(RTPMemoryManager *mgr) : RTCPCompoundPacket(mgr), report(mgr), sdes(mgr)
+ {
+ byesize = 0;
+diff -Nurpa jrtplib-3.7.1.orig/src/rtppacket.cpp jrtplib-3.7.1/src/rtppacket.cpp
+--- jrtplib-3.7.1.orig/src/rtppacket.cpp 2008-12-16 08:58:06.000000000 +0300
++++ jrtplib-3.7.1/src/rtppacket.cpp 2008-12-16 08:58:52.000000000 +0300
+@@ -45,6 +45,8 @@
+
+ #include "rtpdebug.h"
+
++#include <cstring>
++
+ void RTPPacket::Clear()
+ {
+ hasextension = false;