From c45180d2085502f127333eac20e3f236e3f9a04b22b0ac506f14b590a5a96a3e Mon Sep 17 00:00:00 2001 From: Vicente Adolfo Bolea Sanchez Date: Fri, 21 Jul 2023 19:51:26 +0000 Subject: [PATCH] Accepting request 1099807 from home:vicentebolea:branches:science - Fixes build issue that demands to use -std=c++17. This was done by changing the dependency of protobuf from external to internal. OBS-URL: https://build.opensuse.org/request/show/1099807 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=116 --- paraview.changes | 6 ++++++ paraview.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/paraview.changes b/paraview.changes index ce6617f..1e2fcf6 100644 --- a/paraview.changes +++ b/paraview.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jul 20 00:00:00 UTC 2023 - vicente.bolea@gmail.com + +- Fixes build issue that demands to use -std=c++17. This was done + by changing the dependency of protobuf from external to internal. + ------------------------------------------------------------------- Sat Apr 8 19:24:18 UTC 2023 - bjorn.lie@gmail.com diff --git a/paraview.spec b/paraview.spec index 7311e73..57e0400 100644 --- a/paraview.spec +++ b/paraview.spec @@ -115,7 +115,6 @@ BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(netcdf) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(openssl) -BuildRequires: pkgconfig(protobuf) >= 2.6.0 BuildRequires: pkgconfig(sqlite3) %if %{with nlohmann} BuildRequires: pkgconfig(nlohmann_json) @@ -232,6 +231,7 @@ sed -Ei "1{s|#!/usr/bin/env python3|#!/usr/bin/python3|}" Clients/CommandLineExe -DVTK_BUILD_QT_DESIGNER_PLUGIN:BOOL=OFF \ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ -DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=ON \ + -DVTK_MODULE_USE_EXTERNAL_ParaView_protobuf:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_ParaView_vtkcatalyst:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \