Accepting request 762618 from home:marxin:branches:devel:libraries:c_c++
- Add isl_basic_map_underlying_set-fix.patch from upstream. OBS-URL: https://build.opensuse.org/request/show/762618 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/isl?expand=0&rev=37
This commit is contained in:
parent
bc4a87d2c1
commit
4a9eb0621a
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 08:06:27 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Add isl_basic_map_underlying_set-fix.patch from upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 3 10:57:47 UTC 2020 - Martin Liška <mliska@suse.cz>
|
Fri Jan 3 10:57:47 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
2
isl.spec
2
isl.spec
@ -26,6 +26,7 @@ Group: Development/Languages/C and C++
|
|||||||
URL: http://isl.gforge.inria.fr/
|
URL: http://isl.gforge.inria.fr/
|
||||||
Source: http://isl.gforge.inria.fr/isl-%{version}.tar.xz
|
Source: http://isl.gforge.inria.fr/isl-%{version}.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
Patch0: isl_basic_map_underlying_set-fix.patch
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -55,6 +56,7 @@ bounded by linear constraints.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
13
isl_basic_map_underlying_set-fix.patch
Normal file
13
isl_basic_map_underlying_set-fix.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/isl_map.c b/isl_map.c
|
||||||
|
index 4271ba545b..acb35a224b 100644
|
||||||
|
--- a/isl_map.c
|
||||||
|
+++ b/isl_map.c
|
||||||
|
@@ -5511,6 +5511,8 @@ __isl_give isl_basic_set *isl_basic_map_underlying_set(
|
||||||
|
!isl_space_is_named_or_nested(bmap->dim, isl_dim_out))
|
||||||
|
return bset_from_bmap(bmap);
|
||||||
|
bmap = isl_basic_map_cow(bmap);
|
||||||
|
+ if (!bmap)
|
||||||
|
+ return NULL;
|
||||||
|
space = isl_basic_map_take_space(bmap);
|
||||||
|
space = isl_space_underlying(space, bmap->n_div);
|
||||||
|
bmap = isl_basic_map_restore_space(bmap, space);
|
Loading…
Reference in New Issue
Block a user