diff options
author | Peter Volkov <pva@gentoo.org> | 2008-12-16 08:38:15 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-12-16 08:38:15 +0000 |
commit | 199c06d257136a9d8412564cda44b249358e7a1a (patch) | |
tree | bc500516cc1411a4ebf3bc296ac6461e74e88093 /dev-libs/jrtplib | |
parent | Apply upstream patch 20080718 correctly (#247607). (diff) | |
download | historical-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')
-rw-r--r-- | dev-libs/jrtplib/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/jrtplib/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/jrtplib/files/jrtplib-3.7.1-gcc43.patch | 24 | ||||
-rw-r--r-- | dev-libs/jrtplib/jrtplib-3.7.1.ebuild | 12 |
4 files changed, 44 insertions, 6 deletions
diff --git a/dev-libs/jrtplib/ChangeLog b/dev-libs/jrtplib/ChangeLog index 7d922ccf52ad..e8f89f317f93 100644 --- a/dev-libs/jrtplib/ChangeLog +++ b/dev-libs/jrtplib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/jrtplib -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jrtplib/ChangeLog,v 1.5 2007/12/15 15:34:12 drac Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jrtplib/ChangeLog,v 1.6 2008/12/16 08:38:15 pva Exp $ + + 16 Dec 2008; Peter Volkov <pva@gentoo.org> + +files/jrtplib-3.7.1-gcc43.patch, jrtplib-3.7.1.ebuild: + Fixed gcc-4.3 build problem, bug #227551, thank Evil Compile Person for + report and Yaroslav Gorbunov, Marek Miller for the fix. *jrtplib-3.7.1 (15 Dec 2007) diff --git a/dev-libs/jrtplib/Manifest b/dev-libs/jrtplib/Manifest index a0ae0adbc3d1..ca63cd35193f 100644 --- a/dev-libs/jrtplib/Manifest +++ b/dev-libs/jrtplib/Manifest @@ -1,6 +1,7 @@ +AUX jrtplib-3.7.1-gcc43.patch 855 RMD160 bc0a1a77ad962d6b1cee7bbd4a60d6efac8cc552 SHA1 f4f4287d43d0c8bc291ce929fc3e31834efae536 SHA256 2859008e8e81f4817c3203d6c1258412aa8aa4460a73c7bf35bb2c6577e72320 DIST jrtplib-3.5.2.tar.bz2 318580 RMD160 b165dfe220fd066c0715105caf8ae0805f592082 SHA1 c83d4af40b21b4c6e15808d24760c1df90d8a238 SHA256 70e0fa9336a8ebd978e29fdc97ed258957942300b9a7fcfe0e275682f395c633 DIST jrtplib-3.7.1.tar.bz2 334965 RMD160 5f32613a9f2dab5c9cab90a28e502294ecde9dab SHA1 d620c4a078e37f4c4ab98750f930ef8f8262a084 SHA256 b6f82ec7e5543c1a40630e6be98bd9ca464484f985fac7c7bce3fd872ae4348a EBUILD jrtplib-3.5.2.ebuild 631 RMD160 a9e5120d82b201010ff88635d91c192e6fbcd525 SHA1 2fa3a277243e7c363d1741f04fb035f660405e95 SHA256 cea8e4dcb0948bd6fcf1bcf7724565b7eb167c1347c4023eb8552f92753cd146 -EBUILD jrtplib-3.7.1.ebuild 813 RMD160 9ec0c5a5c1aecd9154e6322adea0e5bf6e8616e8 SHA1 61eed00265848af5bf60424a8f42f44a1290b2c0 SHA256 6bbc66b1ffd8cb57480942c113b426cef2090a390366522ff1719e3b0f163b22 -MISC ChangeLog 773 RMD160 f000ce9c63943b51159af8631cfc1fcd82709652 SHA1 c8f181be7415e0e78d8cfdb30caeb32f964d1e10 SHA256 d037bacf834f961cde25d0c1e611d1ece5489c7790b2ce222728a3ae1084892e +EBUILD jrtplib-3.7.1.ebuild 909 RMD160 76f986d3e029332ec2092c694ec25c91cba1fbbe SHA1 116f7a303df91e885bb0739e1d2b1bffcec7cd43 SHA256 57e0b3b8f01c741a6f209cfbf2eaef8f82acea2741c566536daa8cf5a459295c +MISC ChangeLog 1008 RMD160 7f678e3ff2879b6e2138a0349480c104ea1d34e8 SHA1 40223c21b8f14fcd4be2dc20fac764f052c54840 SHA256 a7622dfc0df80b6886b7c4801a481e48560fc4c53acd71bd89056da3098009bf MISC metadata.xml 273 RMD160 0473a2cfd18691aae426714a692b44add80e86ad SHA1 97f5880494f5b7e728655db3dc13329d06362592 SHA256 990e0b0b251b8cfcbb171d321b18e2ed90db6fe8d668ba48150c421b5e0b03c3 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; diff --git a/dev-libs/jrtplib/jrtplib-3.7.1.ebuild b/dev-libs/jrtplib/jrtplib-3.7.1.ebuild index 2906e265d2c3..7c393d04f546 100644 --- a/dev-libs/jrtplib/jrtplib-3.7.1.ebuild +++ b/dev-libs/jrtplib/jrtplib-3.7.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jrtplib/jrtplib-3.7.1.ebuild,v 1.1 2007/12/15 15:34:12 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jrtplib/jrtplib-3.7.1.ebuild,v 1.2 2008/12/16 08:38:15 pva Exp $ + +inherit eutils DESCRIPTION="JRTPLIB is an object-oriented RTP library written in C++." HOMEPAGE="http://research.edm.luc.ac.be/jori/jrtplib/jrtplib.html" @@ -14,6 +16,12 @@ IUSE="examples ipv6" RDEPEND="dev-libs/jthread" DEPEND="${RDEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc43.patch" +} + src_compile() { econf $(use_enable ipv6 IPv6) emake || die "emake failed." |