diff options
-rw-r--r-- | net-analyzer/poink/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch | 13 | ||||
-rw-r--r-- | net-analyzer/poink/poink-2.03.ebuild | 9 |
3 files changed, 25 insertions, 3 deletions
diff --git a/net-analyzer/poink/ChangeLog b/net-analyzer/poink/ChangeLog index 7e929c852e8c..ff3065e1143f 100644 --- a/net-analyzer/poink/ChangeLog +++ b/net-analyzer/poink/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/poink # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/poink/ChangeLog,v 1.4 2007/02/09 04:05:30 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/poink/ChangeLog,v 1.5 2007/06/11 19:05:04 robbat2 Exp $ + + 11 Jun 2007; Robin H. Johnson <robbat2@gentoo.org> + +files/poink-2.03-signed-char-fixup.patch, poink-2.03.ebuild: + Patch the signedness of char bug picked up during stabilization bug #181591. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch b/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch new file mode 100644 index 000000000000..543e58bb184e --- /dev/null +++ b/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch @@ -0,0 +1,13 @@ +diff -Nuar poink-2.03.orig/poink.c poink-2.03/poink.c +--- poink-2.03.orig/poink.c 2002-11-03 03:12:56.000000000 -0800 ++++ poink-2.03/poink.c 2007-06-11 11:59:09.763490735 -0700 +@@ -109,7 +109,8 @@ + SOCKADDR_IN s; + struct timeval ping_start, ping_end; + struct sigaction siga; +- char ch, pingerror[100]; ++ signed char ch; // EOF is -1 ++ char pingerror[100]; + int delay=DEF_DELAY,timeout=DEF_TIMEOUT; + int suck, tmp, port=65535; + diff --git a/net-analyzer/poink/poink-2.03.ebuild b/net-analyzer/poink/poink-2.03.ebuild index f406681d4e0f..338761ade70a 100644 --- a/net-analyzer/poink/poink-2.03.ebuild +++ b/net-analyzer/poink/poink-2.03.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/poink/poink-2.03.ebuild,v 1.4 2005/08/29 20:10:36 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/poink/poink-2.03.ebuild,v 1.5 2007/06/11 19:05:04 robbat2 Exp $ inherit eutils toolchain-funcs @@ -13,6 +13,11 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="virtual/libc" +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PN}-2.03-signed-char-fixup.patch +} + src_compile() { emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die } |