diff options
author | chuckr <chuckr@FreeBSD.org> | 1996-09-17 22:51:49 +0000 |
---|---|---|
committer | chuckr <chuckr@FreeBSD.org> | 1996-09-17 22:51:49 +0000 |
commit | 0e1ecc111555f8f4f40ba8370e6f89e5ecaeaf9d (patch) | |
tree | 4d3e42e50ee4368e397db42a0e042620272b0499 /chinese/cxterm/files | |
parent | 3c4d59f63bd8b811f0af782b0d59aa41448d5757 (diff) | |
download | FreeBSD-ports-0e1ecc111555f8f4f40ba8370e6f89e5ecaeaf9d.zip FreeBSD-ports-0e1ecc111555f8f4f40ba8370e6f89e5ecaeaf9d.tar.gz |
New chinese language port, cxterm, tested and ready!
Submitted by: David O'Brien
Diffstat (limited to 'chinese/cxterm/files')
-rw-r--r-- | chinese/cxterm/files/patch-aa | 21 | ||||
-rw-r--r-- | chinese/cxterm/files/patch-ab | 22 |
2 files changed, 43 insertions, 0 deletions
diff --git a/chinese/cxterm/files/patch-aa b/chinese/cxterm/files/patch-aa new file mode 100644 index 0000000..84c1c3f --- /dev/null +++ b/chinese/cxterm/files/patch-aa @@ -0,0 +1,21 @@ +--- cxterm/misc.c.orig Tue Jan 17 02:57:48 1995 ++++ cxterm/misc.c Sat Aug 10 05:46:57 1996 +@@ -34,6 +34,7 @@ + * SOFTWARE. + */ + ++#include <sys/param.h> + #include "ptyx.h" /* X headers included here. */ + + #include <X11/Xos.h> +@@ -796,8 +797,10 @@ + char *SysErrorMsg (n) + int n; + { ++#if !(defined(BSD) && (BSD >= 199306)) + extern char *sys_errlist[]; + extern int sys_nerr; ++#endif + + return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error"); + } diff --git a/chinese/cxterm/files/patch-ab b/chinese/cxterm/files/patch-ab new file mode 100644 index 0000000..6936e6a --- /dev/null +++ b/chinese/cxterm/files/patch-ab @@ -0,0 +1,22 @@ +--- scripts/CXterm.sh.orig Tue Jan 31 20:05:00 1995 ++++ scripts/CXterm.sh Sat Aug 24 14:36:03 1996 +@@ -11,14 +11,17 @@ + check_use_font () + { + for f in "$@" ; do +- if [ "`xlsfonts $f 2>/dev/null`" = "$f" ]; then ++ # the awk'ing is needed if $f exists in more than one font dir - DEO ++ TRYFONT=`xlsfonts $f 2>/dev/null | /usr/bin/awk '{print $1 ; exit}'` ++ if [ "$TRYFONT" = "$f" ]; then + echo $f + return 0 + fi + done + xset fp+ "$XFONTDIR" + for f in "$@" ; do +- if [ "`xlsfonts $f 2>/dev/null`" = "$f" ]; then ++ TRYFONT=`xlsfonts $f 2>/dev/null | /uar/bin/awk '{print $1 ; exit}'` ++ if [ "$TRYFONT" = "$f" ]; then + echo $f + return 0 + fi |