Hello community,

here is the log from the commit of package muparser for openSUSE:Factory 
checked in at 2015-02-13 08:35:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/muparser (Old)
 and      /work/SRC/openSUSE:Factory/.muparser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "muparser"

Changes:
--------
--- /work/SRC/openSUSE:Factory/muparser/muparser.changes        2013-03-08 
09:25:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.muparser.new/muparser.changes   2015-02-13 
08:35:29.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Feb  2 23:06:30 UTC 2015 - [email protected]
+
+- Update to new upstream release 2.2.4
+* String constants did not work properly. Using more than a single
+  one was impossible.
+* return type of ParserError::GetPos changed to int
+* Bulkmode did not evaluate properly if "=" and "," operator was
+  used in the expression
+- Add muparser-abiversion.diff
+
+-------------------------------------------------------------------

Old:
----
  muparser-2.2.3.tar.xz

New:
----
  muparser-2.2.4.tar.xz
  muparser-abiversion.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ muparser.spec ++++++
--- /var/tmp/diff_new_pack.Mh5ddB/_old  2015-02-13 08:35:30.000000000 +0100
+++ /var/tmp/diff_new_pack.Mh5ddB/_new  2015-02-13 08:35:30.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package muparser
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,25 @@
 
 
 Name:           muparser
-%define lname  libmuparser2
+%define lname  libmuparser2_2_4
+Version:        2.2.4
+Release:        0
 Summary:        A math parser library
 License:        MIT
 Group:          Productivity/Scientific/Math
-Version:        2.2.3
-Release:        0
 Url:            http://muparser.beltoforion.de/
 
-#DL-URL:       http://downloads.sf.net/muparser/muparser_v2_2_3.zip
-# quilt does not like zips very much. downloaded and repackaged.
+#DL-URL:       
https://doc-0g-58-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/is8u65pst36vuotrinv2c401knhailp9/1422914400000/10606444718388524723/*/0BzuB-ydOOoduejdwdTQwcF9JLTA?e=download
 Source:         %name-%version.tar.xz
 Source9:        prepare-tar.sh
-Patch3:         muparser-optflags.patch
+Patch1:         muparser-optflags.patch
+Patch2:         muparser-abiversion.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-BuildRequires:  pkgconfig
+BuildRequires:  pkg-config
 BuildRequires:  xz
 
 %description
@@ -64,7 +64,7 @@
 
 %prep
 %setup -q
-%patch -P 3 -p1
+%patch -P 1 -P 2 -p1
 
 %build
 sh build/autoconf/acregen.sh
@@ -77,7 +77,6 @@
 rm -f "%buildroot/%_libdir"/*.la
 
 %post -n %lname -p /sbin/ldconfig
-
 %postun -n %lname -p /sbin/ldconfig
 
 %files -n %lname

++++++ muparser-2.2.3.tar.xz -> muparser-2.2.4.tar.xz ++++++
++++ 50671 lines of diff (skipped)

++++++ muparser-abiversion.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2015-02-03 00:43:03.433735818 +0100

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.
---
 Makefile.in               |    6 +++---
 build/autoconf/aclocal.m4 |    5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

Index: muparser-2.2.4/Makefile.in
===================================================================
--- muparser-2.2.4.orig/Makefile.in
+++ muparser-2.2.4/Makefile.in
@@ -143,7 +143,7 @@ COND_WINDOWS_IMPLIB_1___muParser_dll___i
 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__muParser_dll___targetsuf3 \
 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@       = .2.2.4.$(SO_SUFFIX)
 @COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@__muParser_dll___targetsuf3 \
-@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@      = .$(SO_SUFFIX).2
+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@      = .$(SO_SUFFIX).2.2.4
 @COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__muParser_dll___targetsuf3 \
 @COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@       = -2.$(SO_SUFFIX)
 @COND_USE_SOVERSION_0@__muParser_dll___targetsuf3 = .$(SO_SUFFIX)
Index: muparser-2.2.4/build/autoconf/aclocal.m4
===================================================================
--- muparser-2.2.4.orig/build/autoconf/aclocal.m4
+++ muparser-2.2.4/build/autoconf/aclocal.m4
@@ -1317,8 +1317,9 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS],
             SONAME_FLAG="-Wl,-soname,"
         fi
         USE_SOVERSION=1
-        USE_SOVERLINUX=1
-        USE_SOTWOSYMLINKS=1
+        USE_SOVERLINUX=0
+        USE_SOVERSOLARIS=1
+        USE_SOTWOSYMLINKS=0
       ;;
 
       *-*-solaris2* )
++++++ prepare-tar.sh ++++++
--- /var/tmp/diff_new_pack.Mh5ddB/_old  2015-02-13 08:35:30.000000000 +0100
+++ /var/tmp/diff_new_pack.Mh5ddB/_new  2015-02-13 08:35:30.000000000 +0100
@@ -1,8 +1,7 @@
 #!/bin/sh -ex
 
-in="2_2_3";
-out="2.2.3";
-wget -c "http://downloads.sf.net/muparser/muparser_v$in.zip";;
+in="2_2_4";
+out="2.2.4";
 unzip "muparser_v$in.zip";
 mv "muparser_v$in" "muparser-$out";
 find "muparser-$out" -type f "(" -iname "*.dll" -o -iname "*.lib" ")" \

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to