diff options
author | joerg <joerg@FreeBSD.org> | 2003-09-07 04:08:29 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2003-09-07 04:08:29 +0800 |
commit | 099b94608b759196d1b51bda09ac773b2525dc56 (patch) | |
tree | bb93c4bae372a3c9eda13a84d8f6db99c43bdd0c /comms/xcept | |
parent | 751ab927233a98a7458180a09ad8b2f4d6abd359 (diff) | |
download | freebsd-ports-gnome-099b94608b759196d1b51bda09ac773b2525dc56.tar.gz freebsd-ports-gnome-099b94608b759196d1b51bda09ac773b2525dc56.tar.zst freebsd-ports-gnome-099b94608b759196d1b51bda09ac773b2525dc56.zip |
Make the tty locking compatible to the FreeBSD convention (10 digits
vs. 9).
Submitted by: Helge Oldach <xcept@oldach.net>
Diffstat (limited to 'comms/xcept')
-rw-r--r-- | comms/xcept/Makefile | 2 | ||||
-rw-r--r-- | comms/xcept/files/patch-ab | 11 |
2 files changed, 11 insertions, 2 deletions
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 @@ |