Accepting request 1179966 from home:badshah400:branches:science

Add gsl-bspline-missing-definition.patch: Add missing definition  for gsl_bspline_eval_nonzero (svg#65868).

OBS-URL: https://build.opensuse.org/request/show/1179966
OBS-URL: https://build.opensuse.org/package/show/science/gsl?expand=0&rev=50
This commit is contained in:
Adam Majer 2024-06-12 11:04:18 +00:00 committed by Git OBS Bridge
parent 6bde75a343
commit 319dd4b24f
3 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,17 @@
---
bspline/gsl_bspline.h | 2 ++
1 file changed, 2 insertions(+)
Index: gsl-2.8/bspline/gsl_bspline.h
===================================================================
--- gsl-2.8.orig/bspline/gsl_bspline.h
+++ gsl-2.8/bspline/gsl_bspline.h
@@ -191,6 +191,8 @@ size_t gsl_bspline_ncoeffs (gsl_bspline_
int gsl_bspline_knots (const gsl_vector * breakpts, gsl_bspline_workspace * w);
int gsl_bspline_knots_uniform (const double a, const double b, gsl_bspline_workspace * w);
int gsl_bspline_eval (const double x, gsl_vector * B, gsl_bspline_workspace * w);
+int gsl_bspline_eval_nonzero (const double x, gsl_vector * Bk, size_t * istart,
+ size_t * iend, gsl_bspline_workspace * w);
int gsl_bspline_deriv_eval (const double x, const size_t nderiv,
gsl_matrix * dB, gsl_bspline_workspace * w);
int gsl_bspline_knots_greville (const gsl_vector *abscissae,

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 11 05:03:47 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Add gsl-bspline-missing-definition.patch: Add missing definition
for gsl_bspline_eval_nonzero (svg#65868).
-------------------------------------------------------------------
Wed May 29 12:44:56 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -122,6 +122,8 @@ Source1: https://ftp.gnu.org/pub/gnu/%{pname}/%{pname}-%{version}.tar.gz.
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=gsl&download=1#/%{pname}.keyring
Patch6: gsl-qawc-test-x86-precision.diff
Patch7: gsl-disable-fma.patch
# PATCH-FIX-UPSTREAM gsl-bspline-missing-definition.patch svg#65868 badshah400@gmail.com -- Add missing definition for gsl_bspline_eval_nonzero
Patch8: gsl-bspline-missing-definition.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@ -130,7 +132,7 @@ BuildRequires: pkgconfig
%if %{without hpc}
BuildRequires: update-alternatives
Requires(post): update-alternatives
Requires(preun): update-alternatives
Requires(preun):update-alternatives
%else
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
BuildRequires: lua-lmod
@ -218,7 +220,7 @@ high level languages.
Summary: Documentation for the GNU Scientific Library
Group: Documentation/Other
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Requires(preun):%{install_info_prereq}
BuildArch: noarch
%description doc
@ -259,6 +261,7 @@ library packages.
%setup -q -n %{pname}-%{version}
%patch -P 6
%patch -P 7 -p1
%patch -P 8 -p1
%build