Opened 19 years ago
Closed 18 years ago
#8483 closed defect (worksforme)
BUG: libiconv fails to compile correctly (problem and fix)
Reported by: | dcpiper@… | Owned by: | mij@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
When compiling the ports for gtk2, one of the dependencies is libiconv.
It fails with the error '/usr/include/wchar.h:84 two or more data types in declaration specifiers'
I noticed that if '_MBSTATE_T' is defined before 'wchar.h' is included, then compilation proceeds without problems.
Change History (4)
comment:1 Changed 19 years ago by dcpiper@…
comment:2 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to mij@… |
---|---|
Summary: | libiconv fails to compile correctly (problem and fix) → BUG: libiconv fails to compile correctly (problem and fix) |
would you perhaps mind to provide a patch?
comment:3 Changed 18 years ago by mij@…
Does this still happen? I built gtk2 and friends from a clean slate yesterday to test the updates I committed and everything worked fine.
comment:4 Changed 18 years ago by markd@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I cannot duplicate this either.
Note: See
TracTickets for help on using
tickets.
D'oh.. I can't believe I left out WHERE I defined _MBSTATE_T .. unfortunately the build source got removed since it compiled correctly but I edited 'lib/loop_wchar.h' in the libiconv directory.
I'm using a Mac with 10.4.6.