Comment 10 for bug 434142

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

There doesn't seem to be a better way solve this in this specific case. the problem is
1. swig automatically generates a #include <Python.h> call before any of pygpiv's code, this brings in setjmp.h
2. pygpiv then includes gpiv.h which in turn includes png.h, this brings in pngconf.h
3. pngvonf.h fails if setjmp.h is already included, as it already is

The only solution i can find is to define PNG_SKIP_SETJMP_CHECK so that pngconf ignores the check.

i've included the previous debdiff for lucid in the ppa below
https://launchpad.net/~sevenmachines/+archive/release+1/+packages