diff options
author | Michal Čihař <nijel@debian.org> | 2016-10-18 16:25:53 +0200 |
---|---|---|
committer | Michal Čihař <nijel@debian.org> | 2016-10-18 16:25:53 +0200 |
commit | 50f6abd75339c0f5e46ab36e75d4a8bc470e4f10 (patch) | |
tree | 8e3a944034409a09d180fc1634b073bb5ecf4131 | |
parent | 475d8f15089fa6ce60e7a795c75279d5b9fc3be7 (diff) |
Fix soname
Signed-off-by: Michal Čihař <nijel@debian.org>
-rw-r--r-- | debian/patches/0001-Bring-back-soname-8.patch | 43 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/0001-Bring-back-soname-8.patch b/debian/patches/0001-Bring-back-soname-8.patch new file mode 100644 index 0000000..552d6b1 --- /dev/null +++ b/debian/patches/0001-Bring-back-soname-8.patch @@ -0,0 +1,43 @@ +From 518155bb5e9cce2bbbbfd0929e88c0a6eedb9d76 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <michal@cihar.com> +Date: Tue, 18 Oct 2016 16:25:11 +0200 +Subject: [PATCH 1/1] Bring back soname 8 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Michal Čihař <michal@cihar.com> +--- + CMakeLists.txt | 2 +- + gammu.spec | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9cba3de..db453ac 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -35,7 +35,7 @@ string (REGEX REPLACE "^([0-9]*)\\.([0-9]*)\\.([0-9]*)$" "\\3" "GAMMU_VERSION_PA + math(EXPR GAMMU_VERSION_NUM "${GAMMU_VERSION_MAJOR} * 10000 + ${GAMMU_VERSION_MINOR} * 100 + ${GAMMU_VERSION_PATCH}") + message (STATUS "Configuring ${CMAKE_PROJECT_NAME} ${GAMMU_VERSION}") + +-set (GAMMU_SOVERSION "7" CACHE INTERNAL "") ++set (GAMMU_SOVERSION "8" CACHE INTERNAL "") + + if ("${CMAKE_CURRENT_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") + message ("Warning: In tree build is not recommended way to build Gammu.") +diff --git a/gammu.spec b/gammu.spec +index 954aba1..87bb781 100644 +--- a/gammu.spec ++++ b/gammu.spec +@@ -3,7 +3,7 @@ + # + + +-%define so_ver 7 ++%define so_ver 8 + + # Change if using tar.gz sources + %define extension bz2 +-- +2.9.3 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..72995f9 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Bring-back-soname-8.patch |