summaryrefslogtreecommitdiff
path: root/libre/sagemath/sagemath-gslcblas.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/sagemath/sagemath-gslcblas.patch')
-rw-r--r--libre/sagemath/sagemath-gslcblas.patch11
1 files changed, 3 insertions, 8 deletions
diff --git a/libre/sagemath/sagemath-gslcblas.patch b/libre/sagemath/sagemath-gslcblas.patch
index 350ae4be3..9ef3094b0 100644
--- a/libre/sagemath/sagemath-gslcblas.patch
+++ b/libre/sagemath/sagemath-gslcblas.patch
@@ -2,16 +2,11 @@ diff --git a/src/module_list.py b/src/module_list.py
index 96e8081..4728e9a 100644
--- a/src/module_list.py
+++ b/src/module_list.py
-@@ -40,11 +40,10 @@ givaro_library_dirs = givaro_pc['library_dirs']
- givaro_cflags = pkgconfig.cflags('givaro').split()
-
- # GNU Scientific Library
--# Note we remove the built-in gslcblas
-+# The default gslcblas is removed in the gsl spkg - not need to remove it.
- # The above cblas should already be in the list thanks to #20646
+@@ -45,6 +45,7 @@ givaro_library_dirs = givaro_pc['library_dirs']
gsl_pc = pkgconfig.parse('gsl')
gsl_libs = gsl_pc['libraries']
--gsl_libs.remove('gslcblas')
+ gsl_libs.remove('gslcblas')
++gsl_libs.extend(cblas_libs)
gsl_library_dirs = gsl_pc['library_dirs']
gsl_include_dirs = gsl_pc['include_dirs']