Fix segmentation violation problem and make b5c works with DEVFS
in -CURRENT. Also tested under -STABLE. PR: ports/28341
This commit is contained in:
parent
102d885cdc
commit
f681fb83ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44325
@ -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/ \
|
||||
|
11
chinese/big5con/files/patch-ai
Normal file
11
chinese/big5con/files/patch-ai
Normal file
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user