Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182314 - app-pda/libopensync-0.22 fail compilation on Gentoo/FreeBSD
Summary: app-pda/libopensync-0.22 fail compilation on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 178853
  Show dependency tree
 
Reported: 2007-06-17 11:25 UTC by MT
Modified: 2007-06-17 12:32 UTC (History)
0 users

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


Attachments
libopensync-0.22-fbsd.patch (libopensync-0.22-fbsd.patch,981 bytes, patch)
2007-06-17 11:26 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2007-06-17 11:25:18 UTC
on Gentoo/FreeBSD libopensync fail compilation:

cc1: warnings being treated as errors
vformat.c: In function '_read_attribute_value_add':
vformat.c:242: warning: passing argument 2 of 'libiconv' from incompatible pointer type
vformat.c:270: warning: passing argument 2 of 'libiconv' from incompatible pointer type
gmake[3]: *** [vformat.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2

the problem is around an #ifdef specific for Solaris making g/fbsd fallback to a generic #ifdef statement not suitable for *BSD userland. Attached there is a patch that change the #ifdef declaration in something usable for Solaris/FreeBSD/NetBSD.

Reproducible: Always
Comment 1 MT 2007-06-17 11:26:00 UTC
Created attachment 122313 [details, diff]
libopensync-0.22-fbsd.patch
Comment 2 MT 2007-06-17 12:06:25 UTC
patch reported upstream
Comment 3 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-06-17 12:32:14 UTC
Thanks, commited.