Opened 14 years ago
Closed 13 years ago
#29002 closed request (fixed)
sdcv port request
Reported by: | jinn8522@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | sdcv |
Description
I need this tool to look up dictionary with console on mac os x.
Attachments (4)
Change History (8)
comment:1 Changed 14 years ago by jinn8522@…
comment:2 follow-up: 3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Summary: | require sdcv port → sdcv port request |
I am trying to create a port for sdcv but it is difficult because there has not been a release of the software since 2006 and it has problems. Some of these problems are detailed in the SourceForge issue tracker, and patches are available, and are even committed to their Subversion repository. (So why don't they release a new version with those fixes?) The one problem for which I have not yet found a bug report or patch is this error message:
In file included from /usr/include/c++/4.2.1/iosfwd:46, from /usr/include/c++/4.2.1/bits/stl_algobase.h:71, from /usr/include/c++/4.2.1/bits/char_traits.h:47, from /usr/include/c++/4.2.1/string:48, from sdcv.cpp:34: /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++locale.h: In function 'int std::__convert_from_v(int* const&, char*, int, const char*, ...)': /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++locale.h:67: error: 'libintl_setlocale' is not a member of 'std' /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++locale.h:73: error: 'libintl_setlocale' is not a member of 'std' /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++locale.h:89: error: 'libintl_setlocale' is not a member of 'std' make[3]: *** [sdcv.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
We have encountered this problem before with steghide, pdf2djvu and wesnoth; it is an incompatibility with gettext intoduced in gettext 0.18. I have tried to apply the same fixes to sdcv that we used previously, but without success.
I'll attach my efforts so far. Maybe someone else can finish it.
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-getopt.diff added |
---|
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-min.diff added |
---|
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-setlocale.diff added |
---|
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++locale.h:67: error: 'libintl_setlocale' is not a member of 'std'
I've filed a bug report for this.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added port in r85010. Thanks to L Michaels for figuring out how to get past the gettext 0.18 incompatibility.
the official website of this project is "http://sdcv.sourceforge.net/".