libvmime/libvmime-sotag.diff

37 lines
1.3 KiB
Diff
Raw Normal View History

From 24449ea8c7eca61c08b955c95ea7c5295a2a2bde Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 27 Mar 2013 17:50:08 +0100
Subject: [PATCH] build:
AFAICS, VMIME broke its API between 0.4.x and 0.8.x without updating
soversions, hence no trust that it is correct now. This changed again
after 0.9.1; since we are also packaging up a git snapshot currently,
make sure it has a unique SONAME. Do the same as we do for wxWidgets-3_0,
and use an unambiguous "suse" suffix.
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: vmime-0.9.2~g490/CMakeLists.txt
===================================================================
--- vmime-0.9.2~g490.orig/CMakeLists.txt
+++ vmime-0.9.2~g490/CMakeLists.txt
@@ -52,7 +52,7 @@ SET(VMIME_VERSION_MICRO 2)
# . Interfaces added/removed/changed: CURRENT++, REVISION=0
# . Interfaces added (upward-compatible changes): AGE++
# . Interfaces removed: AGE=0
-SET(VMIME_API_VERSION_CURRENT 0)
+SET(VMIME_API_VERSION_CURRENT 3)
SET(VMIME_API_VERSION_REVISION 0)
SET(VMIME_API_VERSION_AGE 0)
@@ -65,7 +65,7 @@ SET(VMIME_API_VERSION ${VMIME_API_VERSIO
# VMime Library
# Set base name
-SET(VMIME_LIBRARY_NAME vmime)
+SET(VMIME_LIBRARY_NAME vmime-suse)
# Source files
FILE(