[rocs] Topology must also be exported because it is used in the actions.
Kevin Kofler
kkofler at fedoraproject.org
Sat Dec 3 00:22:02 UTC 2011
commit 6fb5b32ac956c6457b86366d1ddb76f87065ef59
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date: Sat Dec 3 01:21:46 2011 +0100
Topology must also be exported because it is used in the actions.
rocs-4.7.80-export.patch | 34 +++++++++++++++++++++++++++++-----
rocs.spec | 2 +-
2 files changed, 30 insertions(+), 6 deletions(-)
---
diff --git a/rocs-4.7.80-export.patch b/rocs-4.7.80-export.patch
index d49ed2e..27adca2 100644
--- a/rocs-4.7.80-export.patch
+++ b/rocs-4.7.80-export.patch
@@ -1,9 +1,11 @@
-From 9c53c7a265420b632896fdaf64f0302ae18b8644 Mon Sep 17 00:00:00 2001
-Message-Id: <9c53c7a265420b632896fdaf64f0302ae18b8644.1322869645.git.kevin.kofler at chello.at>
+From ab1c9dd316464aaf679638132fce95d0f6ea331a Mon Sep 17 00:00:00 2001
+Message-Id: <ab1c9dd316464aaf679638132fce95d0f6ea331a.1322871591.git.kevin.kofler at chello.at>
From: Kevin Kofler <kevin.kofler at chello.at>
Date: Sat, 3 Dec 2011 00:29:12 +0100
-Subject: [PATCH] ValueModifier must be exported because it is used in the
- plugins.
+Subject: [PATCH] ValueModifier and Topology must be exported because they are
+ used elsewhere.
+
+ValueModifier is used in the plugins, Topology is used in the actions.
This bug was covered on GNU/Linux by the visibility flags getting overwritten
(which I fixed with the previous commit). This is a compilation fix for targets
@@ -11,9 +13,31 @@ which default to hidden visibility.
CCMAIL: release-team at kde.org
---
+ src/Core/Modifiers/Topology.h | 3 ++-
src/Core/Modifiers/ValueModifier.h | 3 ++-
- 1 files changed, 2 insertions(+), 1 deletions(-)
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+diff --git a/src/Core/Modifiers/Topology.h b/src/Core/Modifiers/Topology.h
+index 1af2fc3..498862d 100644
+--- a/src/Core/Modifiers/Topology.h
++++ b/src/Core/Modifiers/Topology.h
+@@ -31,6 +31,7 @@
+ #include <boost/lexical_cast.hpp>
+ #include <boost/random/linear_congruential.hpp>
+
++#include "rocslib_export.h"
+ #include "Rocs_Typedefs.h"
+
+ /** \brief this class provides topology modifiers for data structures
+@@ -39,7 +40,7 @@
+ * make unique changes or connected to specific re-format signals to
+ * apply a given topology after every change of the structure.
+ */
+-class Topology
++class ROCSLIB_EXPORT Topology
+ {
+ typedef boost::adjacency_list<boost::listS, boost::vecS, boost::undirectedS,
+ boost::property<boost::vertex_name_t, std::string> >
diff --git a/src/Core/Modifiers/ValueModifier.h b/src/Core/Modifiers/ValueModifier.h
index d6bf4f0..586a6f5 100644
--- a/src/Core/Modifiers/ValueModifier.h
diff --git a/rocs.spec b/rocs.spec
index c0f6ed4..fb0c41f 100644
--- a/rocs.spec
+++ b/rocs.spec
@@ -11,7 +11,7 @@ Source0: http://download.kde.org/unstable/%{version}/src/%{name}-%{version}.tar.
# upstream patches
# CMakeLists.txt: Don't trash CMAKE_CXX_FLAGS (#759593)
Patch100: rocs-4.7.80-optflags.patch
-# ValueModifier must be exported because it is used in the plugins.
+# ValueModifier and Topology must be exported because they are used elsewhere.
# Fixes the compilation with the above patch.
Patch101: rocs-4.7.80-export.patch
More information about the scm-commits
mailing list