From e6954e884d7c3b0ebb811b742a7ec960ac26da84 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sat, 6 Sep 2003 20:08:29 +0000 Subject: Make the tty locking compatible to the FreeBSD convention (10 digits vs. 9). Submitted by: Helge Oldach --- comms/xcept/Makefile | 2 +- comms/xcept/files/patch-ab | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'comms/xcept') diff --git a/comms/xcept/Makefile b/comms/xcept/Makefile index e4f96fa585c1..f7d8df0da3ac 100644 --- a/comms/xcept/Makefile +++ b/comms/xcept/Makefile @@ -7,7 +7,7 @@ PORTNAME= xcept PORTVERSION= 2.1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= asami/LOCAL_PORTS diff --git a/comms/xcept/files/patch-ab b/comms/xcept/files/patch-ab index f3a5140c444b..7a0ceb44d096 100644 --- a/comms/xcept/files/patch-ab +++ b/comms/xcept/files/patch-ab @@ -350,7 +350,7 @@ char *fmt; { --- ceptd/modeminit.c.orig Wed May 25 19:36:12 1994 -+++ ceptd/modeminit.c Mon Sep 1 16:42:04 2003 ++++ ceptd/modeminit.c Sat Sep 6 22:04:39 2003 @@ -82,6 +82,7 @@ extern int errno; @@ -594,6 +594,15 @@ !!(s&TIOCM_DTR), !!(s&TIOCM_DSR), !!(s&TIOCM_RTS), !!(s&TIOCM_CTS), !!(s&TIOCM_CD ), !!(s&TIOCM_ST ), !!(s&TIOCM_SR ), !!(s&TIOCM_RI), !!(s&TIOCM_LE )); +@@ -544,7 +546,7 @@ + /* put my pid in it + */ + #ifdef ASCIIPID +- (void) sprintf(apid, "%09d", getpid()); ++ (void) sprintf(apid, "%10d", getpid()); + (void) write(fd, apid, strlen(apid)); + #else + pid = getpid(); --- ceptd/level2.c.orig Wed May 25 19:36:12 1994 +++ ceptd/level2.c Mon Sep 1 16:41:00 2003 @@ -126,7 +126,7 @@ -- cgit v1.2.3