Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179235 - net-im/pidgin-2.0.0 fails compilation on ~x86-fbsd due to `cchar_t' undeclared
Summary: net-im/pidgin-2.0.0 fails compilation on ~x86-fbsd due to `cchar_t' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-20 15:43 UTC by MT
Modified: 2007-05-20 17:08 UTC (History)
1 user (show)

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


Attachments
pidgin-2.0.0.patch (pidgin-2.0.0.patch,335 bytes, patch)
2007-05-20 16:21 UTC, MT
Details | Diff
pidgin-cchar_t-undeclared.patch (pidgin-cchar_t-undeclared.patch,278 bytes, patch)
2007-05-20 16:22 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2007-05-20 15:43:00 UTC
pidgin fails compilation process with the error:

gntwm.c: In function 'dump_screen':
gntwm.c:610: warning: operation on 'fgp' may be undefined
gntwm.c: In function 'reverse_char':
gntwm.c:803: error: 'cchar_t' undeclared (first use in this function)
gntwm.c:803: error: (Each undeclared identifier is reported only once
gntwm.c:803: error: for each function it appears in.)
gntwm.c:803: error: expected ';' before 'ch'
gntwm.c:804: warning: ISO C90 forbids mixed declarations and code
gntwm.c:805: error: implicit declaration of function 'mvwin_wch'
gntwm.c:805: warning: nested extern declaration of 'mvwin_wch'
gntwm.c:805: error: 'ch' undeclared (first use in this function)
gntwm.c:809: error: implicit declaration of function 'mvwadd_wch'
gntwm.c:809: warning: nested extern declaration of 'mvwadd_wch'
gmake[4]: *** [gntwm.lo] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.0.0/work/pidgin-2.0.0/finch/libgnt'
gmake[3]: *** [install-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.0.0/work/pidgin-2.0.0/finch/libgnt'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.0.0/work/pidgin-2.0.0/finch/libgnt'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/net-im/pidgin-2.0.0/work/pidgin-2.0.0/finch'
gmake: *** [install-recursive] Error 1


attached there is a patch that fix the problem changing the poor source code that causes undefined operations with a better one.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-20 16:17:42 UTC
It's not even keyworded.
Comment 2 MT 2007-05-20 16:21:50 UTC
Created attachment 119820 [details, diff]
pidgin-2.0.0.patch

(patch just send upstream)
Comment 3 MT 2007-05-20 16:22:55 UTC
Created attachment 119821 [details, diff]
pidgin-cchar_t-undeclared.patch

(patch just send upstream)
Comment 4 MT 2007-05-20 17:02:06 UTC
keywording request for ~x86-fbsd

as AT for Gentoo/FreeBSD i have tested pidgin with the above patches, all compile fine and seems to work well.
Comment 5 Timothy Redaelli (RETIRED) gentoo-dev 2007-05-20 17:08:13 UTC
Done, thanks