Le 21/01/16 19:18, Richard PALO a écrit : > HI, came across some issues on SunOS with python2.7. > >> [build LNK] Library/libbasegfxlo.so >> /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.0.2/pyuno/source/module/pyuno.cxx:387:1: >> error: 'Py_hash_t' does not name a type >> Py_hash_t PyUNO_hash( PyObject *self ) >> ^ >> /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.0.2/pyuno/source/module/pyuno.cxx:1660:5: >> error: 'PyUNO_hash' was not declared in this scope >> PyUNO_hash, >> ^ > > The following seems to get over that: >> --- >> /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.0.2/pyuno/source/module/pyuno_impl.hxx.orig >> 2016-01-13 01:56:20.000000000 +0000 >> +++ >> /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.0.2/pyuno/source/module/pyuno_impl.hxx >> @@ -26,7 +26,7 @@ >> >> #include <Python.h> >> >> -#if PY_VERSION_HEX < 0x02070000 >> +#if PY_VERSION_HEX <= 0x02071100 >> typedef long Py_hash_t; >> #endif > > Isn't this a python3 feature? > Guess I omitted saying this was 5.1.0.2
-- Richard PALO _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice