diff --git a/fix_versioning_libunwind_1.2.1.patch b/fix_versioning_libunwind_1.2.1.patch new file mode 100644 index 0000000..ca810e6 --- /dev/null +++ b/fix_versioning_libunwind_1.2.1.patch @@ -0,0 +1,28 @@ +Index: libunwind-1.2.1/configure.ac +=================================================================== +--- libunwind-1.2.1.orig/configure.ac ++++ libunwind-1.2.1/configure.ac +@@ -1,6 +1,6 @@ + define(pkg_major, 1) +-define(pkg_minor, 2.1) +-define(pkg_extra, ) ++define(pkg_minor, 2) ++define(pkg_extra, 1) + define(pkg_maintainer, libunwind-devel@nongnu.org) + define(mkvers, $1.$2$3) + dnl Process this file with autoconf to produce a configure script. +Index: libunwind-1.2.1/configure +=================================================================== +--- libunwind-1.2.1.orig/configure ++++ libunwind-1.2.1/configure +@@ -17376,8 +17376,8 @@ arch="$target_arch" + ARCH=`echo $target_arch | tr a-z A-Z` + + PKG_MAJOR=1 +-PKG_MINOR=2.1 +-PKG_EXTRA= ++PKG_MINOR=2 ++PKG_EXTRA=1 + PKG_MAINTAINER=libunwind-devel@nongnu.org + + old_LIBS="$LIBS" diff --git a/libunwind.changes b/libunwind.changes index 10f8082..ccdb62f 100644 --- a/libunwind.changes +++ b/libunwind.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 18 18:29:20 UTC 2018 - ronisbr@gmail.com + +- Add patch `fix_versioning_libunwind_1.2.1.patch`. + * This patch fixes the upstream bug gh#libunwind/libunwind#30. + This bug was causing the julia build process to fail. + NOTE: This patch shall be removed in the next version of + libunwind. + ------------------------------------------------------------------- Fri Feb 2 11:52:05 UTC 2018 - tchvatal@suse.com diff --git a/libunwind.spec b/libunwind.spec index f958a77..ff23c81 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -28,6 +28,8 @@ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{real Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig Source2: %{name}.keyring Source3: baselibs.conf +# PATCH-FIX-UPSTREAM fix_versioning_libunwind_1.2.1.patch gh#libunwind/libunwind#30 ronisbr@gmail.com -- libunwind 1.2.1 UNW_VERSION_MINOR is not an integer. +Patch0: fix_versioning_libunwind_1.2.1.patch BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig @@ -49,6 +51,7 @@ call-chain of a program. %prep %setup -q -n %{name}-%{realver} +%patch0 -p1 %build %configure \