aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-12-13 22:00:10 +0800
committervs <vs@FreeBSD.org>2004-12-13 22:00:10 +0800
commit53c1bb90a50c2d85e0e70431ec3f1bf290a97b25 (patch)
treece471acc7e7cc34daeb8ab95fc38818cc06e4c79
parent7049f4f5f0e2e9b4e292d17c26b9d5075118930d (diff)
downloadfreebsd-ports-gnome-53c1bb90a50c2d85e0e70431ec3f1bf290a97b25.tar.gz
freebsd-ports-gnome-53c1bb90a50c2d85e0e70431ec3f1bf290a97b25.tar.zst
freebsd-ports-gnome-53c1bb90a50c2d85e0e70431ec3f1bf290a97b25.zip
- Fix cce run error
- Assign maintainership to submitter PR: ports/74659 Submitted by: "statue"
-rw-r--r--chinese/cce/Makefile2
-rw-r--r--chinese/cce/files/patch-src::term::term.c17
2 files changed, 18 insertions, 1 deletions
diff --git a/chinese/cce/Makefile b/chinese/cce/Makefile
index 3d9633422386..7ca16b6cb2c6 100644
--- a/chinese/cce/Makefile
+++ b/chinese/cce/Makefile
@@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= cce2k
DISTNAME= ${PORTNAME}-${PORTVERSION}-02132004-dist
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@freebsd.org
+MAINTAINER= statue@freebsd.netlab.cse.yzu.edu.tw
COMMENT= Console CJK Environment
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/chinese/cce/files/patch-src::term::term.c b/chinese/cce/files/patch-src::term::term.c
new file mode 100644
index 000000000000..b4763150c893
--- /dev/null
+++ b/chinese/cce/files/patch-src::term::term.c
@@ -0,0 +1,17 @@
+--- src/term/term.c.orig Mon Jan 19 04:22:51 2004
++++ src/term/term.c Sat Dec 4 11:29:39 2004
+@@ -541,12 +541,14 @@
+ if (!GGIAvail && !UseSDLFirst) SDLAvail = IsSDLAvailable();
+ #endif
+
++#if defined(SUPPORT_GGILIB) || defined(SUPPORT_SDLLIB)
+ if (!GGIAvail && !SDLAvail)
+ {
+ #if !defined(DEBUG)
+ fatal("No GGI/SDL found, you can only run CCE in text console.\n");
+ #endif /* DEBUG */
+ }
++#endif
+ }
+
+ #endif /* __MSDOS__ */