catacomb/__init__.py: Awful bodge for symbol conflict.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 14 Jul 2017 22:19:41 +0000 (23:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jul 2017 14:07:09 +0000 (15:07 +0100)
commita3ae4a9f590ef84d8e6eac0bc94873a9fd943073
tree97fc4e80e2a71df6d380b39d1ae7bb680efb0c82
parent378ceeef4e0663d913cb448c32022522d39e7848
catacomb/__init__.py: Awful bodge for symbol conflict.

It seems that, in Debian jessie and later, the main Python binary now
exports `md5_init' and friends.  Unfortunately, this overrides
Catacomb's existing `md5_init' with a rather different version, and the
result is a segfault (on i386) or wrong answers (on amd64).

So, as an unpleasant bodge (while this broken thing makes its way
through Debian, see bug #868366), try to force the `RTLD_DEEPBIND' flag
when loading the module.  This is unfortunate, because Python doesn't
actually advertise this flag, at least in my version.
catacomb/__init__.py