diff options
author | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2001-06-22 17:41:48 +0000 |
---|---|---|
committer | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2001-06-22 17:41:48 +0000 |
commit | f681fb83eab4fdd931e090f9d163f1fbf32295d5 (patch) | |
tree | b647519e7b6b4e17e5d63bec238ae1ae6ac0c7f2 /chinese/big5con | |
parent | House distfiles under since these are no longer available elsewhere (diff) |
Fix segmentation violation problem and make b5c works with DEVFS
in -CURRENT.
Also tested under -STABLE.
PR: ports/28341
Notes
Notes:
svn path=/head/; revision=44325
Diffstat (limited to 'chinese/big5con')
-rw-r--r-- | chinese/big5con/Makefile | 1 | ||||
-rw-r--r-- | chinese/big5con/files/patch-ai | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile index 605b7f80bbcb..c5b839a70d27 100644 --- a/chinese/big5con/Makefile +++ b/chinese/big5con/Makefile @@ -7,6 +7,7 @@ PORTNAME= big5con PORTVERSION= 0.92e +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/ \ ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/binary/ \ diff --git a/chinese/big5con/files/patch-ai b/chinese/big5con/files/patch-ai new file mode 100644 index 000000000000..95a9e1e89dcd --- /dev/null +++ b/chinese/big5con/files/patch-ai @@ -0,0 +1,11 @@ +--- src/child.c.orig Fri Jun 22 23:14:24 2001 ++++ src/child.c Sat Jun 23 00:48:55 2001 +@@ -106,7 +106,7 @@ + #if defined(linux) + *(ttyname(fileno(errfp))+8)); + #elif defined(__FreeBSD__) +- *(ttyname(fileno(errfp))+9)); ++ ttyname(fileno(errfp)) ? *(ttyname(fileno(errfp))+9) : '?'); + #endif + fflush(stdout); + |