summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Bring-back-soname-8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0001-Bring-back-soname-8.patch')
-rw-r--r--debian/patches/0001-Bring-back-soname-8.patch43
1 files changed, 43 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
+