[sagemath] 01/01: Update for newer pkgconfig

Ximin Luo infinity0 at debian.org
Mon Dec 12 14:07:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit 175265703f699b4d7997d7959dc9f9417726f7a3
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Dec 12 15:06:16 2016 +0100

    Update for newer pkgconfig
---
 debian/patches/series                     |  1 +
 debian/patches/u1-version-pkgconfig.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index adfb9ea..477e654 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,6 +15,7 @@ u1-version-planarity-3.patch
 u1-version-pbori-boost1.62-hashes.patch
 u1-version-ecm-7.patch
 u1-version-cddlib-094h.patch
+u1-version-pkgconfig.patch
 u1-fix-libgap-systemwide.patch
 u1-fix-use-lexists-not-exists.patch
 u1-fix-proper-scipy-rtol.patch
diff --git a/debian/patches/u1-version-pkgconfig.patch b/debian/patches/u1-version-pkgconfig.patch
new file mode 100644
index 0000000..ab752e6
--- /dev/null
+++ b/debian/patches/u1-version-pkgconfig.patch
@@ -0,0 +1,11 @@
+--- a/sage/src/module_list.py
++++ b/sage/src/module_list.py
+@@ -42,7 +42,7 @@
+ # GNU Scientific Library
+ # Note we replace the built-in gslcblas with the above cblas
+ gsl_pc = pkgconfig.parse('gsl')
+-gsl_libs = list(gsl_pc['libraries'].difference(['gslcblas']).union(cblas_libs))
++gsl_libs = [l for l in gsl_pc['libraries'] if l != 'gslcblas'] + cblas_libs
+ gsl_library_dirs = list(gsl_pc['library_dirs'])
+ gsl_include_dirs = list(gsl_pc['include_dirs'])
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list