diff options
author | chinsan <chinsan@FreeBSD.org> | 2009-01-02 16:06:15 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2009-01-02 16:06:15 +0800 |
commit | e32d20489c105d96cdd53df34f1d54cb0081babb (patch) | |
tree | abf81a3ad11fe8001f963e5882945cc5770ede8f /chinese/ve | |
parent | 1f8ca87e60cf11d371b56f1d569a03e6a0be6747 (diff) | |
download | freebsd-ports-gnome-e32d20489c105d96cdd53df34f1d54cb0081babb.tar.gz freebsd-ports-gnome-e32d20489c105d96cdd53df34f1d54cb0081babb.tar.zst freebsd-ports-gnome-e32d20489c105d96cdd53df34f1d54cb0081babb.zip |
- Fix compiling warning.
PR: ports/129819
Submitted by: Hung-Yi Chen <gaod@hychen.org>
Diffstat (limited to 'chinese/ve')
-rw-r--r-- | chinese/ve/Makefile | 2 | ||||
-rw-r--r-- | chinese/ve/files/extrapatch-screen.c | 18 | ||||
-rw-r--r-- | chinese/ve/files/patch-editor.c | 10 |
3 files changed, 25 insertions, 5 deletions
diff --git a/chinese/ve/Makefile b/chinese/ve/Makefile index ef5c255ac9c0..a128535f8992 100644 --- a/chinese/ve/Makefile +++ b/chinese/ve/Makefile @@ -7,7 +7,7 @@ PORTNAME= ve PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese MASTER_SITES= LOCAL/chinsan EXTRACT_SUFX= .tgz diff --git a/chinese/ve/files/extrapatch-screen.c b/chinese/ve/files/extrapatch-screen.c index e42a0ee4a5a2..b643c45ad398 100644 --- a/chinese/ve/files/extrapatch-screen.c +++ b/chinese/ve/files/extrapatch-screen.c @@ -1,15 +1,25 @@ ---- screen.c.orig Thu Dec 18 01:08:35 2003 -+++ screen.c Thu Dec 18 01:09:44 2003 -@@ -6,7 +6,7 @@ +--- screen.c_orig 2008-12-21 22:41:24.000000000 +0800 ++++ screen.c 2008-12-21 22:41:40.000000000 +0800 +@@ -6,7 +6,8 @@ /* update : 95/12/15 */ /*-------------------------------------------------------*/ -#include <varargs.h> +#include <stdarg.h> ++#include <stdlib.h> #include "bbs.h" extern char clearbuf[]; -@@ -601,13 +601,12 @@ +@@ -46,8 +47,6 @@ + { + if (!dumb_term && !big_picture) + { +- extern char *calloc(); +- + scr_lns = t_lines; + scr_cols = t_columns = ANSILINELEN; + /* scr_cols = MIN(t_columns, ANSILINELEN); */ +@@ -601,13 +600,12 @@ void diff --git a/chinese/ve/files/patch-editor.c b/chinese/ve/files/patch-editor.c new file mode 100644 index 000000000000..e11452792df3 --- /dev/null +++ b/chinese/ve/files/patch-editor.c @@ -0,0 +1,10 @@ +--- editor.c.orig 2008-12-21 22:42:24.000000000 +0800 ++++ editor.c 2008-12-21 22:42:35.000000000 +0800 +@@ -21,6 +21,7 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include <stdlib.h> + #include "bbs.h" + + #define gtty(fd,data) tcgetattr(fd,data) |