diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-03-12 11:04:48 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-03-12 11:04:48 +0800 |
commit | 591e3b8a1aa6958d5144e9304b44777d7e6227f6 (patch) | |
tree | 4342c9baf04d676cf83dad927dc716555c055b93 /chinese/firebird | |
parent | 549fcccb02b4958b2b4a2336d843eb2e02c9f678 (diff) | |
download | freebsd-ports-gnome-591e3b8a1aa6958d5144e9304b44777d7e6227f6.tar.gz freebsd-ports-gnome-591e3b8a1aa6958d5144e9304b44777d7e6227f6.tar.zst freebsd-ports-gnome-591e3b8a1aa6958d5144e9304b44777d7e6227f6.zip |
s/varargs.h/stdarg.h/g
Submitted by: chinsan <chinsan@mail2000.com.tw>
Approved by: maintainer.
Diffstat (limited to 'chinese/firebird')
-rw-r--r-- | chinese/firebird/Makefile | 22 | ||||
-rw-r--r-- | chinese/firebird/files/patch-bbs.c | 12 | ||||
-rw-r--r-- | chinese/firebird/files/patch-dlm.c | 11 | ||||
-rw-r--r-- | chinese/firebird/files/patch-paging.c | 11 | ||||
-rw-r--r-- | chinese/firebird/files/patch-screen.c | 29 |
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 == '%') { |