From nobody@FreeBSD.org  Thu Jan 24 17:43:17 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9DA2016A41B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jan 2008 17:43:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8F9C613C461
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jan 2008 17:43:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0OHffRk065642
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jan 2008 17:41:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0OHffLo065641;
	Thu, 24 Jan 2008 17:41:41 GMT
	(envelope-from nobody)
Message-Id: <200801241741.m0OHffLo065641@www.freebsd.org>
Date: Thu, 24 Jan 2008 17:41:41 GMT
From: HuDong <hoodng@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: stardict-2.4.8_4 compile error with gcc-4.2.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119947
>Category:       ports
>Synopsis:       textproc/stardict2 - version 2.4.8_4 compile error with gcc-4.2.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 17:50:00 UTC 2008
>Closed-Date:    Sat Jan 26 21:34:17 UTC 2008
>Last-Modified:  Sat Jan 26 21:40:03 UTC 2008
>Originator:     HuDong
>Release:        8.0-CURRENT
>Organization:
Jinfonet
>Environment:
FreeBSD TP600X 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Tue Jan 22 01:14:31 CST 2008
hoodng@TP600X:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
When i used "make USE_GCC=4.2 install clean" to install stardict-2.4.8_4 on my FreeBSD 8.0-CURRENT, I meet with the error of compiling. It says, there is a piece of code in the "stardict.cpp" file invokes a private static method of TopWin class  which defined in the file "mainwin.h".
>How-To-Repeat:

>Fix:
I try to fix this issue, so i redefine the static method of TopWin from private to public, it seems pass the compile. 
Now, I can use stardict, but it seems can not capture words of screen.

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Thu Jan 24 20:05:45 UTC 2008 
Class-Changed-Why:  
Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119947 
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jan 24 20:05:48 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119947 
State-Changed-From-To: open->feedback 
State-Changed-By: delphij 
State-Changed-When: Thu Jan 24 21:56:35 UTC 2008 
State-Changed-Why:  
Dear submitter: 

Do you have patches? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119947 
State-Changed-From-To: feedback->closed 
State-Changed-By: delphij 
State-Changed-When: Sat Jan 26 21:34:03 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119947: commit references a PR
Date: Sat, 26 Jan 2008 21:33:57 +0000 (UTC)

 delphij     2008-01-26 21:33:52 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/stardict2   Makefile 
     textproc/stardict2/files patch-src::mainwin.h 
   Log:
   Add a patch to allow stardict2 to build on gcc 4.x.
   
   Submitted by:   Hu Dong <hoodng at hotmail dot com>
   PR:             ports/119947
   
   Revision  Changes    Path
   1.31      +1 -2      ports/textproc/stardict2/Makefile
   1.2       +21 -3     ports/textproc/stardict2/files/patch-src::mainwin.h
 _______________________________________________
 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:
