diff --git a/ccp4.xml b/ccp4.xml index d0a3ff858467b7b789a026b591483dc9b8de08bd..1a6cb546843fff0761b5f6dea31594014c5f2de2 100644 --- a/ccp4.xml +++ b/ccp4.xml @@ -658,6 +658,7 @@ </if> <branch branch="ccp4-pyside2-opengl33"> <patch file="ccp4mg-launcher.patch" strip="0" /> + <patch file="ccp4mg-swig.patch" strip="1" /> </branch> <dependencies> <dep package="clipper"/> @@ -692,6 +693,7 @@ </if> </if> <branch branch="ccp4-pyside2-opengl33"> + <patch file="ccp4mg-swig.patch" strip="1" /> </branch> <dependencies> <dep package="clipper"/> diff --git a/patches/ccp4mg-swig.patch b/patches/ccp4mg-swig.patch new file mode 100644 index 0000000000000000000000000000000000000000..54341f75cedbee5075399eba9accda7f365cc25e --- /dev/null +++ b/patches/ccp4mg-swig.patch @@ -0,0 +1,11 @@ +--- a/build_hklfile_mod/hklfile.i 2024-08-09 10:40:05.285748000 +0100 ++++ b/build_hklfile_mod/hklfile.i 2024-08-09 11:56:37.597492000 +0100 +@@ -79,6 +79,8 @@ + %ignore scala::hkl_symmetry::put_in_asu; + %ignore Citation::MakeXMLCitation; + %ignore scala::MeanVariance::MeanVariance(const std::vector<float>&); ++%ignore HKLlist::operator<; ++%ignore scala::operator==; + + %include "columngroups.hh" + %include "columnstats.hh"