From gaod@gaod.tfcis.org  Sun Dec 21 15:10:00 2008
Return-Path: <gaod@gaod.tfcis.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3A84A1065676
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2008 15:10:00 +0000 (UTC)
	(envelope-from gaod@gaod.tfcis.org)
Received: from gaod.tfcis.org (gaod.tfcis.org [210.70.137.25])
	by mx1.freebsd.org (Postfix) with SMTP id D8F0F8FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2008 15:09:49 +0000 (UTC)
	(envelope-from gaod@gaod.tfcis.org)
Received: from gaod.tfcis.org (localhost [127.0.0.1])
	by gaod.tfcis.org (Postfix) with ESMTP id 2E001AC841
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2008 22:52:40 +0800 (CST)
Received: (from root@localhost)
	by gaod.tfcis.org (8.14.3/8.14.3/Submit) id mBLEqdiM012875;
	Sun, 21 Dec 2008 22:52:39 +0800 (CST)
	(envelope-from gaod)
Message-Id: <200812211452.mBLEqdiM012875@gaod.tfcis.org>
Date: Sun, 21 Dec 2008 22:52:39 +0800 (CST)
From: Hung-Yi Chen <gaod@hychen.org>
Reply-To: Hung-Yi Chen <gaod@hychen.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] chinese/ve fix compiling warning
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         129819
>Category:       ports
>Synopsis:       [PATCH] chinese/ve fix compiling warning
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    chinsan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 21 15:20:01 UTC 2008
>Closed-Date:    Fri Jan 02 08:06:37 UTC 2009
>Last-Modified:  Fri Jan  2 08:10:08 UTC 2009
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->chinsan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Dec 21 15:20:10 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129819 
State-Changed-From-To: open->closed 
State-Changed-By: chinsan 
State-Changed-When: Fri Jan 2 08:06:36 UTC 2009 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129819 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129819: commit references a PR
Date: Fri,  2 Jan 2009 08:06:29 +0000 (UTC)

 chinsan     2009-01-02 08:06:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     chinese/ve           Makefile 
     chinese/ve/files     extrapatch-screen.c 
   Added files:
     chinese/ve/files     patch-editor.c 
   Log:
   - Fix compiling warning.
   
   PR:                     ports/129819
   Submitted by:           Hung-Yi Chen <gaod@hychen.org>
   
   Revision  Changes    Path
   1.16      +1 -1      ports/chinese/ve/Makefile
   1.4       +14 -4     ports/chinese/ve/files/extrapatch-screen.c
   1.1       +10 -0     ports/chinese/ve/files/patch-editor.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
