aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2005-03-12 03:04:48 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2005-03-12 03:04:48 +0000
commitb76bd37c228c1dc722409bd7aca33031be1d784f (patch)
tree8799941bf26f9e63f08161d46b6448ee1f461542 /chinese
parentdb0b512f742c0f20159c2f14cef40c1e29aafed4 (diff)
downloadports-b76bd37c228c1dc722409bd7aca33031be1d784f.tar.gz
ports-b76bd37c228c1dc722409bd7aca33031be1d784f.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/firebird/Makefile22
-rw-r--r--chinese/firebird/files/patch-bbs.c12
-rw-r--r--chinese/firebird/files/patch-dlm.c11
-rw-r--r--chinese/firebird/files/patch-paging.c11
-rw-r--r--chinese/firebird/files/patch-screen.c29
5 files changed, 74 insertions, 11 deletions
diff --git a/chinese/firebird/Makefile b/chinese/firebird/Makefile
index 66ccf08b58e8..4822e43cf6f6 100644
--- a/chinese/firebird/Makefile
+++ b/chinese/firebird/Makefile
@@ -3,20 +3,20 @@
# Whom: Edward Chuang <edwardc@firebird.org.tw>
# $FreeBSD$
-PORTNAME= firebird
-PORTVERSION= 3.0R
-CATEGORIES= chinese net
-MASTER_SITES= ftp://ftp4.firebird.org.tw/Network/BBS/Firebird/
+PORTNAME= firebird
+PORTVERSION= 3.0R
+PORTREVISION= 1
+CATEGORIES= chinese net
+MASTER_SITES= ftp://ftp4.firebird.org.tw/Network/BBS/Firebird/
+DISTNAME= 3.0-RELEASE
-DISTNAME= 3.0-RELEASE
-
-MAINTAINER= edwardc@firebird.org.tw
+MAINTAINER= edwardc@firebird.org.tw
COMMENT= A Common BBS Server with its own customized INN News Server
-WRKSRC= ${WRKDIR}/bbs/bbssrc
-GNU_CONFIGURE= yes
-USE_BZIP2= yes
-IS_INTERACTIVE= yes
+WRKSRC= ${WRKDIR}/bbs/bbssrc
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+IS_INTERACTIVE= yes
pre-install:
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/chinese/firebird/files/patch-bbs.c b/chinese/firebird/files/patch-bbs.c
new file mode 100644
index 000000000000..f9bfc5413d19
--- /dev/null
+++ b/chinese/firebird/files/patch-bbs.c
@@ -0,0 +1,12 @@
+--- src/bbs.c.orig Tue Mar 8 02:34:20 2005
++++ src/bbs.c Tue Mar 8 02:33:11 2005
+@@ -25,8 +25,7 @@
+
+ #ifndef lint
+ static const char copyright[] =
+-"@(#) Copyright (c) 1999,2000\n
+- Firebird BBS Project. All rights reserved. http://www.firebird.org.tw\n";
++"@(#) Copyright (c) 1999,2000\n Firebird BBS Project. All rights reserved. http://www.firebird.org.tw\n";
+ #endif
+ #include "bbs.h"
+ #include <time.h>
diff --git a/chinese/firebird/files/patch-dlm.c b/chinese/firebird/files/patch-dlm.c
new file mode 100644
index 000000000000..cfe94af368a3
--- /dev/null
+++ b/chinese/firebird/files/patch-dlm.c
@@ -0,0 +1,11 @@
+--- lib/libBBS/dlm.c.orig Tue Mar 8 02:12:24 2005
++++ lib/libBBS/dlm.c Tue Mar 8 02:12:35 2005
+@@ -3,7 +3,7 @@
+
+ #ifndef BBS
+ #include <dlfcn.h>
+- #include <varargs.h>
++ #include <stdarg.h>
+ #include <strings.h>
+ #include <stdlib.h>
+ #include <stdio.h>
diff --git a/chinese/firebird/files/patch-paging.c b/chinese/firebird/files/patch-paging.c
new file mode 100644
index 000000000000..bbef69b6f2b2
--- /dev/null
+++ b/chinese/firebird/files/patch-paging.c
@@ -0,0 +1,11 @@
+--- src/SO/paging.c.orig Fri Sep 22 23:14:03 2000
++++ src/SO/paging.c Tue Mar 8 03:24:43 2005
+@@ -351,7 +351,7 @@
+ case '0':
+ return 0;
+ default:
+-
++ return 0;
+ }
+ }
+
diff --git a/chinese/firebird/files/patch-screen.c b/chinese/firebird/files/patch-screen.c
new file mode 100644
index 000000000000..f24131c90bda
--- /dev/null
+++ b/chinese/firebird/files/patch-screen.c
@@ -0,0 +1,29 @@
+--- src/screen.c.orig Sat Jan 15 09:45:29 2000
++++ src/screen.c Tue Mar 8 03:06:59 2005
+@@ -27,7 +27,7 @@
+ #include "screen.h"
+ #include "edit.h"
+ #include <sys/param.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+ extern char clearbuf[];
+ extern char cleolbuf[];
+@@ -538,14 +538,13 @@
+ int dec[] = {1000000000, 100000000, 10000000, 1000000, 100000, 10000, 1000, 100, 10, 1};
+
+ void
+-prints(va_alist)
+-va_dcl
++prints(char *fmt, ...)
+ {
+ va_list ap;
+- register char *fmt;
++ register char;
+ char *bp;
+ register int i, count, hd, indx;
+- va_start(ap);
++ va_start(ap, fmt);
+ fmt = va_arg(ap, char *);
+ while (*fmt != '\0') {
+ if (*fmt == '%') {