paraview/paraview-Adaptors-include-txx-file.patch
Atri Bhattacharya c0fce7409a Accepting request 873844 from home:badshah400:branches:science
* Update to version 5.9.0.
* Add paraview-vtkioss-link-pthread.patch: Link against pthread when building vtkioss [https://gitlab.kitware.com/paraview/paraview/-/issues/20495].
* Add paraview-Adaptors-include-txx-file.patch: Fix Cam adaptor template instantiation [https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4729].
* PDF guide book ParaviewGuide-%{version}.pdf replaced by ParaviewTutorial-%{version}.pdf.
* Drop upstream-incorporated patches: 1) paraview-vtkFreeTypeTools-internal-macro.patch 2) fix-3d48a287-support-new-api-cgio_read_data_type.patch 3) bundled_exodusii_add_missing_libpthread.patch.

OBS-URL: https://build.opensuse.org/request/show/873844
OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=91
2021-03-06 17:00:39 +00:00

38 lines
1.1 KiB
Diff

From 4caacf4577e615a80c4282c700347dfb2e931788 Mon Sep 17 00:00:00 2001
From: Ben Boeckel <ben.boeckel@kitware.com>
Date: Mon, 15 Feb 2021 10:17:53 -0500
Subject: [PATCH 2/2] Adaptors/Cam: include the .txx file
This allows the TU to instantiate the template information as needed.
---
Adaptors/Cam/fv_create_data.cxx | 1 +
Adaptors/Cam/se_create_data.cxx | 1 +
2 files changed, 2 insertions(+)
diff --git a/Adaptors/Cam/fv_create_data.cxx b/Adaptors/Cam/fv_create_data.cxx
index 95dc7260f0..0dc45c3e33 100644
--- a/Adaptors/Cam/fv_create_data.cxx
+++ b/Adaptors/Cam/fv_create_data.cxx
@@ -16,6 +16,7 @@
#include "fv_create_data.h"
#include "Grid.h"
+#include "Grid.txx"
#include "vtkCPDataDescription.h"
#include "vtkCPInputDataDescription.h"
diff --git a/Adaptors/Cam/se_create_data.cxx b/Adaptors/Cam/se_create_data.cxx
index 4552340652..a9877410df 100644
--- a/Adaptors/Cam/se_create_data.cxx
+++ b/Adaptors/Cam/se_create_data.cxx
@@ -16,6 +16,7 @@
#include "se_create_data.h"
#include "Grid.h"
+#include "Grid.txx"
#include "vtkCPDataDescription.h"
#include "vtkCPInputDataDescription.h"
--
GitLab