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

sebastic pushed a commit to branch master
in repository libkml.

commit 688779ac49f153ebd3e725855c9c78da00776a7d
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sat Jul 25 18:19:23 2015 +0200

    Add patch to fix SOVERSION from MAJOR.MINOR to MARJOR.
---
 debian/changelog               |  1 +
 debian/patches/series          |  1 +
 debian/patches/soversion.patch | 22 ++++++++++++++++++++++
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c957f83..a14a8c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ libkml (1.3.0~r864+git20150723-0fa2f22-1) UNRELEASED; 
urgency=medium
   * Switch build system from autotools to cmake.
   * Drop automake related patches, refresh remaining patch.
   * Add patch to fix FTBFS due to ; separated compiler flags.
+  * Add patch to fix SOVERSION from MAJOR.MINOR to MARJOR.
 
  -- Bas Couwenberg <sebas...@debian.org>  Sat, 25 Jul 2015 15:16:12 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index d831b2d..791d0ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 java-run-sh-shebang.diff
 compiler-flags.patch
+soversion.patch
diff --git a/debian/patches/soversion.patch b/debian/patches/soversion.patch
new file mode 100644
index 0000000..297d3e0
--- /dev/null
+++ b/debian/patches/soversion.patch
@@ -0,0 +1,22 @@
+Description: Fix SOVERSION to single integer.
+Author: Bas Couwenberg <sebas...@debian.org>
+Forwarded: https://github.com/libkml/libkml/pull/197
+
+--- a/cmake/LibKMLHelper.cmake
++++ b/cmake/LibKMLHelper.cmake
+@@ -14,7 +14,7 @@ macro(build_target)
+   if(VERSION_STRING)
+     set_target_properties(${LIB_NAME} PROPERTIES
+       VERSION   "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
+-      SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
++      SOVERSION "${VERSION_MAJOR}")
+   endif()
+   string(LENGTH ${LIB_NAME} ${LIB_NAME}_LEN)
+   MATH(EXPR ${LIB_NAME}_END "${${LIB_NAME}_LEN} - 3")
+@@ -63,4 +63,4 @@ macro(include_project_vars _project _lib
+   endif(WIN32)
+   set(${_project}_LIBRARY "${INSTALL_DIR}/lib/${_lib}${_suffix}" )
+   include_directories(${${_project}_INCLUDE_DIR})
+-endmacro()
+\ No newline at end of file
++endmacro()

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/libkml.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to