Index: head/math/qtiplot/files/patch-sip-4.19.6 =================================================================== --- head/math/qtiplot/files/patch-sip-4.19.6 (nonexistent) +++ head/math/qtiplot/files/patch-sip-4.19.6 (revision 457851) @@ -0,0 +1,48 @@ +The patch name is an approximation; something changed between SIP 4.19.2 and +SIP 4.19.6 that causes the build to fail and sipAPI.qti.h is no longer +generated. + +Obtained from: https://anonscm.debian.org/git/debian-science/packages/qtiplot.git/tree/debian/patches/20_fix_FTBFS_sip4.19.patch +Obtained from: https://bugs.gentoo.org/641514#c2 +--- qtiplot/src/scripting/PythonScripting.cpp.orig 2018-01-02 11:37:07 UTC ++++ qtiplot/src/scripting/PythonScripting.cpp +@@ -58,7 +58,7 @@ typedef struct _traceback { + #include + + // includes sip.h, which undefines Qt's "slots" macro since SIP 4.6 +-#include "sipAPIqti.h" ++#include "sip.h" + extern "C" void initqti(); + + const char* PythonScripting::langName = "Python"; +@@ -359,10 +359,11 @@ bool PythonScripting::setQObject(QObject *val, const c + if(!val) return false; + PyObject *pyobj=NULL; + +- PyGILState_STATE state = PyGILState_Ensure(); ++ sipAPIDef sip_API; + +- sipWrapperType * klass = sipFindClass(val->className()); +- if (klass) pyobj = sipConvertFromInstance(val, klass, NULL); ++ PyGILState_STATE state = PyGILState_Ensure(); ++ const auto klass = sip_API.api_find_class(val->className()); ++ if (klass) pyobj = sip_API.api_convert_from_type(val, klass->wt_td, NULL); + + if (pyobj) { + if (dict) +--- qtiplot/src/scripting/qti.sip.orig 2018-01-02 11:37:07 UTC ++++ qtiplot/src/scripting/qti.sip +@@ -3243,11 +3243,11 @@ class FFT : Filter (public) + %MethodCode + SIPQTI_APP(new sipFFT(app, a0, *a1, a2, a3)) + %End +- FFT(QwtPlotCurve *&) /NoDerived/; ++ FFT(QwtPlotCurve *) /NoDerived/; + %MethodCode + SIPQTI_APP(new sipFFT(app, a0)) + %End +- FFT(QwtPlotCurve *&, double, double) /NoDerived/; ++ FFT(QwtPlotCurve *, double, double) /NoDerived/; + %MethodCode + SIPQTI_APP(new sipFFT(app, a0, a1, a2)) + %End Property changes on: head/math/qtiplot/files/patch-sip-4.19.6 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property