pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38999: devel/exempi doesn't compile



>Number:         38999
>Category:       pkg
>Synopsis:       devel/exempi doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 20 08:05:00 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
>Organization:
>Environment:
DragonFly
>Description:
Reconcile_Impl.cpp: In function 'void ReconcileUtils::UTF8ToLatin1(const void*, 
size_t, std::string*)':
Reconcile_Impl.cpp:257: error: invalid conversion from 'const char**' to 
'char**'
Reconcile_Impl.cpp:257: error:   initializing argument 2 of 'size_t 
iconv(__tag_iconv_t*, char**, size_t*, char**, size_t*)'
Reconcile_Impl.cpp: In function 'void ReconcileUtils::Latin1ToUTF8(const void*, 
size_t, std::string*)':
Reconcile_Impl.cpp:414: error: invalid conversion from 'const char**' to 
'char**'
Reconcile_Impl.cpp:414: error:   initializing argument 2 of 'size_t 
iconv(__tag_iconv_t*, char**, size_t*, char**, size_t*)'
*** Error code 1

>How-To-Repeat:
The point is that Citrus iconv implementation in DragonFly and the GNU libiconv 
now in the pkgsrc (1.12) conform to SUSv3 while the one in NetBSD base and 
older GNU libiconv don't. So, the patches/patch-ab is just wrong in any system 
except NetBSD, seems. 
>Fix:
The patch to fix the problem (only tested in DragonFly) is available at 
http://leaf.dragonflybsd.org/~hasso/pkgsrc-devel-exempi.patch



Home | Main Index | Thread Index | Old Index