summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 04:20:52 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 04:20:52 +0000
commit4fd69e81523338dd4f0e71c6adb7887538dafdbb (patch)
treee14d16ea6a94163724908f16d5cbc50374bdb0e8 /net-analyzer/rtpbreak
parentEAPI=2; add use-based dep (bug #230597) (diff)
downloadgentoo-2-4fd69e81523338dd4f0e71c6adb7887538dafdbb.tar.gz
gentoo-2-4fd69e81523338dd4f0e71c6adb7887538dafdbb.tar.bz2
gentoo-2-4fd69e81523338dd4f0e71c6adb7887538dafdbb.zip
Fix building with newer glibc #247936 by Diego E. Pettenò.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'net-analyzer/rtpbreak')
-rw-r--r--net-analyzer/rtpbreak/ChangeLog8
-rw-r--r--net-analyzer/rtpbreak/files/rtpbreak-1.2-build.patch14
-rw-r--r--net-analyzer/rtpbreak/rtpbreak-1.2.ebuild8
3 files changed, 24 insertions, 6 deletions
diff --git a/net-analyzer/rtpbreak/ChangeLog b/net-analyzer/rtpbreak/ChangeLog
index 3ef0146166d3..f98f0958831e 100644
--- a/net-analyzer/rtpbreak/ChangeLog
+++ b/net-analyzer/rtpbreak/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/rtpbreak
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rtpbreak/ChangeLog,v 1.2 2007/09/26 21:03:37 drizzt Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rtpbreak/ChangeLog,v 1.3 2009/01/14 04:20:52 vapier Exp $
+
+ 14 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/rtpbreak-1.2-build.patch, rtpbreak-1.2.ebuild:
+ Fix building with newer glibc #247936 by Diego E. Pettenò.
*rtpbreak-1.2 (26 Sep 2007)
diff --git a/net-analyzer/rtpbreak/files/rtpbreak-1.2-build.patch b/net-analyzer/rtpbreak/files/rtpbreak-1.2-build.patch
new file mode 100644
index 000000000000..58a980055723
--- /dev/null
+++ b/net-analyzer/rtpbreak/files/rtpbreak-1.2-build.patch
@@ -0,0 +1,14 @@
+fix building with newer glibc
+
+http://bugs.gentoo.org/247936
+
+--- rtpbreak.c
++++ rtpbreak.c
+@@ -24,6 +24,7 @@
+ /* includes */
+
+
++#include <limits.h>
+ #include <time.h>
+ #include <sys/stat.h>
+ #include <pwd.h>
diff --git a/net-analyzer/rtpbreak/rtpbreak-1.2.ebuild b/net-analyzer/rtpbreak/rtpbreak-1.2.ebuild
index b02c83568dd1..cc9014192a3d 100644
--- a/net-analyzer/rtpbreak/rtpbreak-1.2.ebuild
+++ b/net-analyzer/rtpbreak/rtpbreak-1.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rtpbreak/rtpbreak-1.2.ebuild,v 1.1 2007/09/26 21:03:37 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rtpbreak/rtpbreak-1.2.ebuild,v 1.2 2009/01/14 04:20:52 vapier Exp $
inherit eutils toolchain-funcs
-DESCRIPTION="Detects, reconstructs and analyzes any RTP session through heuristics over the UDP network traffic."
+DESCRIPTION="Detects, reconstructs and analyzes any RTP session through heuristics over the UDP network traffic"
HOMEPAGE="http://xenion.antifork.org/rtpbreak/index.html"
SRC_URI="http://xenion.antifork.org/rtpbreak/${P}.tgz"
@@ -19,7 +19,7 @@ DEPEND=">=net-libs/libnet-1.1
src_unpack() {
unpack ${A}
cd "${S}"
-
+ epatch "${FILESDIR}"/${P}-build.patch #247936
epatch "${FILESDIR}"/${P}-ldflags.patch
}