Bug 119947 - textproc/stardict2 - version 2.4.8_4 compile error with gcc-4.2.1
Summary: textproc/stardict2 - version 2.4.8_4 compile error with gcc-4.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-24 17:50 UTC by HuDong
Modified: 2008-01-26 21:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description HuDong 2008-01-24 17:50:00 UTC
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".

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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-24 20:05:45 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-24 20:05:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Xin LI freebsd_committer freebsd_triage 2008-01-24 21:56:35 UTC
State Changed
From-To: open->feedback

Dear submitter: 

Do you have patches?
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-01-26 21:33:57 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"
Comment 5 Xin LI freebsd_committer freebsd_triage 2008-01-26 21:34:03 UTC
State Changed
From-To: feedback->closed

Committed, thanks!