- Update to 2011.03.17

PR:		ports/155899
Submitted by:	Ruslan Mahmatkhanov <cvs-src at yandex.ru>
This commit is contained in:
Rong-En Fan 2011-03-26 07:52:20 +00:00
parent 088ea37397
commit ce91af2183
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271784
3 changed files with 15 additions and 3 deletions

View file

@ -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}

View file

@ -1,2 +1,2 @@
SHA256 (mbuffer-20110119.tgz) = d6ab0d50d5270f2c4a1756b5677e91f362b6369f10604223ecd890e8e291f407
SIZE (mbuffer-20110119.tgz) = 116287
SHA256 (mbuffer-20110317.tgz) = 5ade72d03e710bd295c0c385a99c66a5b627c4139c91ec519901fba68db94943
SIZE (mbuffer-20110317.tgz) = 116510

View file

@ -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);