ports/129819: [PATCH] chinese/ve fix compiling warning
Hung-Yi Chen
gaod at hychen.org
Sun Dec 21 15:20:02 UTC 2008
>Number: 129819
>Category: ports
>Synopsis: [PATCH] chinese/ve fix compiling warning
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 21 15:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Hung-Yi Chen
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD gaod.tfcis.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Sat Sep 13 05:18:44 CST 2008 gaod at gaod.tfcis.org:/usr/src/sys/i386/compile/gaod i386
>Description:
Fix compiling warning.
>How-To-Repeat:
>Fix:
--- ve begins here ---
===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/chinese/ve.orig/Makefile /usr/ports/chinese/ve/Makefile
--- /usr/ports/chinese/ve.orig/Makefile 2008-05-01 22:08:18.000000000 +0800
+++ /usr/ports/chinese/ve/Makefile 2008-12-21 22:43:07.000000000 +0800
@@ -7,7 +7,7 @@
PORTNAME= ve
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= chinese
MASTER_SITES= LOCAL/chinsan
EXTRACT_SUFX= .tgz
diff -ruN --exclude=CVS /usr/ports/chinese/ve.orig/files/extrapatch-screen.c /usr/ports/chinese/ve/files/extrapatch-screen.c
--- /usr/ports/chinese/ve.orig/files/extrapatch-screen.c 2006-03-21 05:58:01.000000000 +0800
+++ /usr/ports/chinese/ve/files/extrapatch-screen.c 2008-12-21 22:41:49.000000000 +0800
@@ -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 -ruN --exclude=CVS /usr/ports/chinese/ve.orig/files/patch-editor.c /usr/ports/chinese/ve/files/patch-editor.c
--- /usr/ports/chinese/ve.orig/files/patch-editor.c 1970-01-01 08:00:00.000000000 +0800
+++ /usr/ports/chinese/ve/files/patch-editor.c 2008-12-21 22:42:53.000000000 +0800
@@ -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)
===> Done
--- ve ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list