[sdformat] 01/02: Fix wrong usage of else-keyword in cmake. (Closes: #870237)

Anton Gladky gladk at moszumanska.debian.org
Tue Aug 15 20:20:08 UTC 2017


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

gladk pushed a commit to branch master
in repository sdformat.

commit 33b27de25db62b62b3b6f2bcf96385dbf9ceed10
Author: Anton Gladky <gladk at debian.org>
Date:   Tue Aug 15 22:11:27 2017 +0200

    Fix wrong usage of else-keyword in cmake. (Closes: #870237)
---
 debian/patches/0004_fix_condition_in_cmake.patch | 19 +++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/0004_fix_condition_in_cmake.patch b/debian/patches/0004_fix_condition_in_cmake.patch
new file mode 100644
index 0000000..44df3ce
--- /dev/null
+++ b/debian/patches/0004_fix_condition_in_cmake.patch
@@ -0,0 +1,19 @@
+Description: Fix wrong usage of else-keyword in cmake
+Author: Anton Gladky <gladk at debian.org>
+Bug-Debian: https://bugs.debian.org/870237
+Last-Update: 2017-08-15
+
+--- sdformat-4.2.0.orig/CMakeLists.txt
++++ sdformat-4.2.0/CMakeLists.txt
+@@ -186,9 +186,9 @@ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
+ # OS Specific initialization
+ if (UNIX)
+   sdf_setup_unix()
+-else (WIN32)
++elseif (WIN32)
+   sdf_setup_windows()
+-else (APPLE)
++elseif (APPLE)
+   sdf_setup_apple()
+ endif()
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6f41405..18d76f1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-c++11-unconditional.patch
 0002_use_system_gtest.patch
 0003-urdfdom-replace-boost.patch
+0004_fix_condition_in_cmake.patch

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



More information about the debian-science-commits mailing list