mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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)
This commit is contained in:
parent
c248296493
commit
b921e1a116
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362865
2 changed files with 14 additions and 1 deletions
|
@ -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
|
||||
|
|
13
net/libbgpdump/files/patch-bgpdump.c
Normal file
13
net/libbgpdump/files/patch-bgpdump.c
Normal file
|
@ -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 {
|
Loading…
Add table
Reference in a new issue