forked from pool/muparser
Jan Engelhardt
2c61c8fee0
OBS-URL: https://build.opensuse.org/package/show/science/muparser?expand=0&rev=30
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
Orig-From: Jan Engelhardt <jengelh@inai.de>
|
|
Orig-Date: 2015-02-03 00:43:03.433735818 +0100
|
|
From: Paolo Stivanin <info@paolostivanin.com>
|
|
Date: 2020-06-17 08:54:21+0000
|
|
|
|
muparser broke the ABI between 2.2.3 and 2.2.4 by changing.
|
|
The abidiff(1) report from libabigail:
|
|
|
|
[C]'method std::size_t mu::ParserError::GetPos()' has some indirect sub-type changes:
|
|
return type changed:
|
|
entity changed from typedef std::size_t to int
|
|
name changed from 'long unsigned int' to 'int'
|
|
size changed from 64 to 32 bits
|
|
alignment changed from 64 to 32 bits
|
|
|
|
Work around this messup by using the full version as unique SONAME.
|
|
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: muparser-2.3.3/CMakeLists.txt
|
|
===================================================================
|
|
--- muparser-2.3.3.orig/CMakeLists.txt
|
|
+++ muparser-2.3.3/CMakeLists.txt
|
|
@@ -75,7 +75,7 @@ endif()
|
|
|
|
set_target_properties(muparser PROPERTIES
|
|
VERSION ${MUPARSER_VERSION}
|
|
- SOVERSION ${MUPARSER_VERSION_MAJOR}
|
|
+ SOVERSION ${MUPARSER_VERSION}
|
|
)
|
|
|
|
if(ENABLE_SAMPLES)
|