From 0bc66dc265adeb02350c6b8cbfe8a7c4f1e944362e02327c78bf43ed362d6b83 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 17 Jun 2020 12:56:53 +0000 Subject: [PATCH] put back patch description OBS-URL: https://build.opensuse.org/package/show/science/muparser?expand=0&rev=26 --- muparser-abiversion.diff | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/muparser-abiversion.diff b/muparser-abiversion.diff index 8c7bb8d..7e92b6f 100644 --- a/muparser-abiversion.diff +++ b/muparser-abiversion.diff @@ -1,3 +1,20 @@ +Orig-From: Jan Engelhardt +Orig-Date: 2015-02-03 00:43:03.433735818 +0100 +From: Paolo Stivanin +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. + diff -ru a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2020-06-17 10:52:15.574640873 +0200 +++ b/CMakeLists.txt 2020-06-17 00:09:53.000000000 +0200