From ce91af2183b1c788e38f17a597e837e643a013ab Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sat, 26 Mar 2011 07:52:20 +0000 Subject: [PATCH] - Update to 2011.03.17 PR: ports/155899 Submitted by: Ruslan Mahmatkhanov --- misc/mbuffer/Makefile | 2 +- misc/mbuffer/distinfo | 4 ++-- misc/mbuffer/files/patch-mbuffer.c | 12 ++++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 misc/mbuffer/files/patch-mbuffer.c diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile index 20ff4e41996c..9c07e2b1d13a 100644 --- a/misc/mbuffer/Makefile +++ b/misc/mbuffer/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mbuffer -PORTVERSION= 2011.01.19 +PORTVERSION= 2011.03.17 CATEGORIES= misc MASTER_SITES= http://www.maier-komor.de/software/mbuffer/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} diff --git a/misc/mbuffer/distinfo b/misc/mbuffer/distinfo index ccb5714b82d7..b04fc9a6d92f 100644 --- a/misc/mbuffer/distinfo +++ b/misc/mbuffer/distinfo @@ -1,2 +1,2 @@ -SHA256 (mbuffer-20110119.tgz) = d6ab0d50d5270f2c4a1756b5677e91f362b6369f10604223ecd890e8e291f407 -SIZE (mbuffer-20110119.tgz) = 116287 +SHA256 (mbuffer-20110317.tgz) = 5ade72d03e710bd295c0c385a99c66a5b627c4139c91ec519901fba68db94943 +SIZE (mbuffer-20110317.tgz) = 116510 diff --git a/misc/mbuffer/files/patch-mbuffer.c b/misc/mbuffer/files/patch-mbuffer.c new file mode 100644 index 000000000000..a00bb11fb7c7 --- /dev/null +++ b/misc/mbuffer/files/patch-mbuffer.c @@ -0,0 +1,12 @@ +# Only needed for FreeBSD < 8.1, but no harm +--- mbuffer.c.orig 2011-03-26 15:45:51.000000000 +0800 ++++ mbuffer.c 2011-03-26 15:45:47.000000000 +0800 +@@ -2007,7 +2007,7 @@ + } + + debugmsg("checking if we have a controlling terminal...\n"); +- err = sigignore(SIGTTIN); ++ err = sigset(SIGTTIN, SIG_IGN); + assert(err == 0); + fl = fcntl(STDERR_FILENO,F_GETFL); + err = fcntl(STDERR_FILENO,F_SETFL,fl | O_NONBLOCK);