Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52466 - app-accessibility/flite won't build with gcc 3.3.3-r5
Summary: app-accessibility/flite won't build with gcc 3.3.3-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 47635
  Show dependency tree
 
Reported: 2004-05-30 08:04 UTC by Michael Gorse
Modified: 2004-05-31 09:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This patch contains the author's suggested patch. (flite.patch,1.19 KB, patch)
2004-05-31 04:52 UTC, Michael Gorse
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gorse 2004-05-30 08:04:24 UTC
One of flite's tools sets values in normally read-only items of
structures that the header declares as const.  I wrote Alan Black,
and he suggested defining const as nothing before including the flite
headers in the offending file (tools/find_sts_main.c).  It builds for
me after making that change.  (It only gave a warning with older gcc
ebuilds, but it is now an error.)

Reproducible: Always
Steps to Reproduce:
emerge sys-devel/gcc/gcc-3.3.3-r5.ebuild
2.emerge flite
3.
Actual Results:  
gcc gives errors on lines 100, 103, and 107 of
tools/find_sts_main.c.
Comment 1 Michael Gorse 2004-05-31 04:52:54 UTC
Created attachment 32375 [details, diff]
This patch contains the author's suggested patch.
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-05-31 09:46:17 UTC
fix works and is now in portage; thank you :)