[gazebo] 02/04: New patch to support visibility in skyx code

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Sat Jun 28 15:14:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

jrivero-guest pushed a commit to branch master
in repository gazebo.

commit 6b001755ba07c4d39f0c96a967198acc5d56dd2b
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Thu Jun 26 23:28:07 2014 +0000

    New patch to support visibility in skyx code
---
 debian/patches/0004-visibility-skyx.patch | 19 +++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/0004-visibility-skyx.patch b/debian/patches/0004-visibility-skyx.patch
new file mode 100644
index 0000000..2dc0a8f
--- /dev/null
+++ b/debian/patches/0004-visibility-skyx.patch
@@ -0,0 +1,19 @@
+Description: skyx classes are not defined proper visiblity
+Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+Forwarded: no
+
+--- a/gazebo/rendering/skyx/include/Prerequisites.h
++++ b/gazebo/rendering/skyx/include/Prerequisites.h
+@@ -45,7 +45,11 @@ http://www.gnu.org/copyleft/lesser.txt.
+     #define DllExport __declspec (dllimport)
+   #endif
+ #else
+-  #define DllExport
++  #if __GNUC__ >= 4
++    #define DllExport __attribute__ ((visibility ("default")))
++  #else
++    #define DllExport
++  #endif
+ #endif
+
+ /// Log macro
diff --git a/debian/patches/series b/debian/patches/series
index 34098a8..38d6248 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-respect-linker-flags.patch
 0002-install-deprecated-manpages.patch
 0003-respect-cmake-c-flags.patch
+0004-visibility-skyx.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gazebo.git



More information about the debian-science-commits mailing list