Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package google-or-tools for openSUSE:Factory checked in at 2022-11-25 16:31:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-or-tools (Old) and /work/SRC/openSUSE:Factory/.google-or-tools.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-or-tools" Fri Nov 25 16:31:17 2022 rev:4 rq:1038203 version:9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/google-or-tools/google-or-tools.changes 2022-09-20 19:23:54.146528900 +0200 +++ /work/SRC/openSUSE:Factory/.google-or-tools.new.1597/google-or-tools.changes 2022-11-25 16:31:18.362588206 +0100 @@ -1,0 +2,5 @@ +Fri Nov 25 12:12:32 UTC 2022 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Fix build with SWIG 4.1 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-or-tools.spec ++++++ --- /var/tmp/diff_new_pack.ncNidG/_old 2022-11-25 16:31:19.230593140 +0100 +++ /var/tmp/diff_new_pack.ncNidG/_new 2022-11-25 16:31:19.234593163 +0100 @@ -101,6 +101,9 @@ %prep %autosetup -p1 -n or-tools-%{version} +# Fix incompatibility with SWIG 4.1, https://github.com/google/or-tools/issues/3519 +find -iname \*CMakeLists.txt -exec sed -i -e '/COMPILE_DEFINITIONS/ s@ABSL_MUST_USE_RESULT@@g' '{}' \; +sed -i -e '/FLAGS/ s@ABSL_MUST_USE_RESULT@ABSL_MUST_USE_RESULT="[[nodiscard]]" @g' cmake/python.cmake %build %global optflags %{optflags} -Wno-error=return-type