diff options
author | jmz <jmz@FreeBSD.org> | 2005-12-17 11:36:22 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2005-12-17 11:36:22 +0000 |
commit | 441ad42a3b9f6a0d95e2db2cada679aadfafc745 (patch) | |
tree | a9c3de4314907fe4c62427964fbc9db25382b458 /comms/mgetty+sendfax | |
parent | e5c93f82a87f072eb1c3a31dfd96d747db593576 (diff) | |
download | FreeBSD-ports-441ad42a3b9f6a0d95e2db2cada679aadfafc745.zip FreeBSD-ports-441ad42a3b9f6a0d95e2db2cada679aadfafc745.tar.gz |
Upgrade to version 1.1.34
Add a workaround (patch-mg_m_init.c) so that it works on FreeBSD 6 (see PR kern/87208)
Diffstat (limited to 'comms/mgetty+sendfax')
-rw-r--r-- | comms/mgetty+sendfax/Makefile | 4 | ||||
-rw-r--r-- | comms/mgetty+sendfax/distinfo | 4 | ||||
-rw-r--r-- | comms/mgetty+sendfax/files/patch-mg_m_init.c | 25 |
3 files changed, 29 insertions, 4 deletions
diff --git a/comms/mgetty+sendfax/Makefile b/comms/mgetty+sendfax/Makefile index ab6fe5d..a622f14 100644 --- a/comms/mgetty+sendfax/Makefile +++ b/comms/mgetty+sendfax/Makefile @@ -6,11 +6,11 @@ # PORTNAME= mgetty -PORTVERSION= 1.1.33 +PORTVERSION= 1.1.34 PORTREVISION= 0 CATEGORIES= comms MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/ -DISTNAME= ${PORTNAME}${PORTVERSION}-Apr10 +DISTNAME= ${PORTNAME}${PORTVERSION}-Nov30 MAINTAINER= jmz@FreeBSD.org COMMENT= Handle external logins, send and receive faxes diff --git a/comms/mgetty+sendfax/distinfo b/comms/mgetty+sendfax/distinfo index 9d0bddf..38257a9 100644 --- a/comms/mgetty+sendfax/distinfo +++ b/comms/mgetty+sendfax/distinfo @@ -1,2 +1,2 @@ -MD5 (mgetty1.1.33-Apr10.tar.gz) = d61a2bd343111be35250496710393bd5 -SIZE (mgetty1.1.33-Apr10.tar.gz) = 1024596 +MD5 (mgetty1.1.34-Nov30.tar.gz) = d34f9bf55cadbcf62dc044c9de88a148 +SIZE (mgetty1.1.34-Nov30.tar.gz) = 1027591 diff --git a/comms/mgetty+sendfax/files/patch-mg_m_init.c b/comms/mgetty+sendfax/files/patch-mg_m_init.c new file mode 100644 index 0000000..96d390c --- /dev/null +++ b/comms/mgetty+sendfax/files/patch-mg_m_init.c @@ -0,0 +1,25 @@ +--- mg_m_init.c.orig Sat Nov 26 17:47:44 2005 ++++ mg_m_init.c Sat Dec 17 12:24:51 2005 +@@ -269,7 +269,7 @@ + if (fd > 0) + { + (void) close(0); +- if (dup(fd) != 0) ++ if (dup2(fd,0) != 0) + { + lprintf( L_FATAL, "mod: cannot make %s stdin", devname ); + return ERROR; +@@ -281,11 +281,11 @@ + (void) close(1); + (void) close(2); + +- if (dup(0) != 1) ++ if (dup2(0,1) != 1) + { + lprintf( L_FATAL, "mod: cannot dup to stdout"); return ERROR; + } +- if (dup(0) != 2) ++ if (dup2(0,2) != 2) + { + lprintf( L_FATAL, "mod: cannot dup to stderr"); return ERROR; + } |