Michael Stahl added the comment: we carry a patch in LibreOffice for exactly this problem:
http://cgit.freedesktop.org/libreoffice/core/tree/external/python3/python-3.3.0-i42553.patch.2 this was found many years ago in OOo: https://issues.apache.org/ooo/show_bug.cgi?id=42553 there is at least one file in the LO code which includes pyport.h (which i have just verified via generated header dependencies), and the LO build system globally defines a SOLARIS macro on that platform, so there's a real-world problem caused by this. so if you could re-open this and merge that patch we could finally get rid of it on our side; there doesn't appear to be a downside to me since according to this bug report the prototype is wrong for Solaris 2.6 already, and older versions ought to have died out by now. ---------- nosy: +mst _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue837046> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com