Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 03:50:02 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362865 - in head/net/libbgpdump: . files
Message-ID:  <201407250350.s6P3o2FD080813@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jul 25 03:50:02 2014
New Revision: 362865
URL: http://svnweb.freebsd.org/changeset/ports/362865
QAT: https://qat.redports.org/buildarchive/r362865/

Log:
  net/libbgpdump: add patch from bitbucket
  
  https://bitbucket.org/ripencc/bgpdump/issue/12/binary-garbage-at-the-end-of-output
  
  PR:		192091
  Submitted by:	citrin+pr@citrin.ru
  Approved by:	mjl@luckie.org.nz (maintainer)

Added:
  head/net/libbgpdump/files/
  head/net/libbgpdump/files/patch-bgpdump.c   (contents, props changed)
Modified:
  head/net/libbgpdump/Makefile

Modified: head/net/libbgpdump/Makefile
==============================================================================
--- head/net/libbgpdump/Makefile	Fri Jul 25 02:06:15 2014	(r362864)
+++ head/net/libbgpdump/Makefile	Fri Jul 25 03:50:02 2014	(r362865)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libbgpdump
 PORTVERSION=	1.4.99.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://www.ris.ripe.net/source/bgpdump/
 EXTRACT_SUFX=	.tgz

Added: head/net/libbgpdump/files/patch-bgpdump.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libbgpdump/files/patch-bgpdump.c	Fri Jul 25 03:50:02 2014	(r362865)
@@ -0,0 +1,13 @@
+--- bgpdump.c.old	2014-07-24 13:02:50.000000000 +0000
++++ bgpdump.c	2014-07-24 13:03:27.000000000 +0000
+@@ -164,10 +164,6 @@
+         exit(1);        
+     }
+ 
+-    // more efficient then line buffering
+-    char buffer[16000];
+-    setbuffer(stdout, buffer, sizeof buffer);
+-    
+     BGPDUMP *my_dump = bgpdump_open_dump(argv[0]);
+     
+     do {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407250350.s6P3o2FD080813>