View | Details | Raw Unified | Return to bug 118100
Collapse All | Expand All

(-)cxterm/Makefile (-6 / +5 lines)
Lines 10-23 Link Here
10
PORTVERSION=	5.0.3
10
PORTVERSION=	5.0.3
11
PORTREVISION=	1
11
PORTREVISION=	1
12
CATEGORIES=	chinese x11
12
CATEGORIES=	chinese x11
13
MASTER_SITES=	ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/
13
MASTER_SITES=	ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/x-win/cxterm/ \
14
		http://www.525183.com/freebsd/cxterm/ \
15
		http://www.chinatinco.com/freebsd/cxterm/ \
16
		http://525183.serverbox.org/freebsd/cxterm/
14
DISTNAME=	cxterm5.0.p3
17
DISTNAME=	cxterm5.0.p3
15
18
16
PATCH_SITES=	${MASTER_SITES}
19
PATCH_SITES=	${MASTER_SITES}
17
PATCHFILES=	cxterm-5.0.p3-color.patch.gz	# cxterm-5.0-hz-patch.gz
20
PATCHFILES=	cxterm-5.0.p3-color.patch.gz	# cxterm-5.0-hz-patch.gz
18
PATCH_DIST_STRIP=	-p1
21
PATCH_DIST_STRIP=	-p1
19
22
20
MAINTAINER=	ports@FreeBSD.org
23
MAINTAINER=	sunrychen@gmail.com
21
COMMENT=	An xterm that speaks Chinese
24
COMMENT=	An xterm that speaks Chinese
22
25
23
BUILD_DEPENDS=	bdftopcf:${X_CLIENTS_PORT}
26
BUILD_DEPENDS=	bdftopcf:${X_CLIENTS_PORT}
Lines 40-49 Link Here
40
BROKEN=		"Coredump during build on ia64"
43
BROKEN=		"Coredump during build on ia64"
41
.endif
44
.endif
42
45
43
.if ${OSVERSION} >= 700042
44
BROKEN=		Does not compile on GCC 4.2
45
.endif
46
47
post-install:
46
post-install:
48
	${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh ${PREFIX}/bin/CXterm
47
	${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh ${PREFIX}/bin/CXterm
49
	# standard X11 place
48
	# standard X11 place
(-)cxterm/files/patch-ad (-10 lines)
Lines 1-10 Link Here
1
--- ./cxterm/HZutil.c.org	Tue Jan 17 02:57:30 1995
2
+++ ./cxterm/HZutil.c	Wed Apr 23 03:44:24 1997
3
@@ -153,6 +153,7 @@
4
 {
5
 
6
 #if !defined(X_NOT_POSIX) || defined(SYSV) || defined(USG)
7
+# include <sys/types.h>
8
 # include <dirent.h>
9
 #else
10
 # include <sys/dir.h>
(-)cxterm/files/patch-cxterm__HZutil.c (+25 lines)
Line 0 Link Here
1
--- ./cxterm/HZutil.c.orig	1995-01-17 10:57:30.000000000 +0000
2
+++ ./cxterm/HZutil.c	2007-11-17 14:49:28.000000000 +0000
3
@@ -148,11 +148,9 @@
4
  * give NULL as "name" and "inputdir".  When no more match for this
5
  * search, the function returns 0 (otherwise, 1 means successful).
6
  */
7
-int HZfindsuffix(new_suffix, new_inputdir, basename)
8
-    char *new_suffix, *new_inputdir, *basename;
9
-{
10
 
11
 #if !defined(X_NOT_POSIX) || defined(SYSV) || defined(USG)
12
+# include <sys/types.h>
13
 # include <dirent.h>
14
 #else
15
 # include <sys/dir.h>
16
@@ -161,6 +159,9 @@
17
 # endif 
18
 #endif      
19
 
20
+int HZfindsuffix(new_suffix, new_inputdir, basename)
21
+    char *new_suffix, *new_inputdir, *basename;
22
+{
23
   /* persistent variables for the search continuation */
24
   static char *inputdir = NULL;
25
   static char *suffix = NULL;
(-)cxterm/files/patch-utils__hzimctrl.c (+20 lines)
Line 0 Link Here
1
--- ./utils/hzimctrl.c.orig	1995-01-17 10:59:17.000000000 +0000
2
+++ ./utils/hzimctrl.c	2007-11-17 14:51:55.000000000 +0000
3
@@ -130,7 +130,7 @@
4
 #ifdef CANT_OPEN_DEV_TTY
5
 	extern char *ttyname();
6
 #endif
7
-	static void Usage();
8
+	void Usage();
9
 
10
 	ptr = strrchr(myname = argv[0], '/');
11
 	if (ptr)
12
@@ -215,7 +215,7 @@
13
 	exit(0);
14
 }
15
 
16
-static void Usage()
17
+void Usage()
18
 {
19
 	fprintf(stderr,"Usage: %s [ -m input_method | -d HZINPUTDIR | -p parameters ]\n",
20
 		myname);

Return to bug 118100