Accepting request 577875 from home:Ronis_BR
- 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. OBS-URL: https://build.opensuse.org/request/show/577875 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libunwind?expand=0&rev=37
This commit is contained in:
parent
1ae87f9137
commit
89d6a1c431
28
fix_versioning_libunwind_1.2.1.patch
Normal file
28
fix_versioning_libunwind_1.2.1.patch
Normal file
@ -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"
|
@ -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
|
Fri Feb 2 11:52:05 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -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
|
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: baselibs.conf
|
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: gcc-c++
|
||||||
BuildRequires: lzma-devel
|
BuildRequires: lzma-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -49,6 +51,7 @@ call-chain of a program.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{realver}
|
%setup -q -n %{name}-%{realver}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user