[sagemath] 01/05: Build pynac interface with SINGULAR_CFLAGS to find singular headers.

Tobias Hansen thansen at moszumanska.debian.org
Sun Jan 29 19:24:13 UTC 2017


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

thansen pushed a commit to branch experimental
in repository sagemath.

commit 6408fda837cfc1db3b90ecf0a72e3ec1d7de939c
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Jan 29 14:58:14 2017 +0000

    Build pynac interface with SINGULAR_CFLAGS to find singular headers.
---
 debian/changelog                                        |  2 ++
 debian/patches/series                                   |  1 +
 debian/patches/u1-singular-include-path-for-pynac.patch | 14 ++++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e18d2ee..38db448 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ sagemath (7.5.1-1) UNRELEASED; urgency=medium
     - d1-sage-env.patch (also patch env.py from here)
     - dt-disable-parallel-sphinx.patch
     - dt-more-fix-test-cases.patch (parts were applied upstream)
+  * New patches:
+    - u1-singular-include-path-for-pynac.patch
 
  -- Tobias Hansen <thansen at debian.org>  Wed, 18 Jan 2017 22:58:31 +0000
 
diff --git a/debian/patches/series b/debian/patches/series
index 39533c7..c00ff5e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,6 +14,7 @@ u1-fix-use-lexists-not-exists.patch
 u1-fix-proper-scipy-rtol.patch
 u1-fix-preexec-fn.patch
 u1-fix-dont-require-DISPLAY.patch
+u1-singular-include-path-for-pynac.patch
 
 # Patches that should be upstreamed, but need a bit more work first
 u2-reproducible-docs.patch
diff --git a/debian/patches/u1-singular-include-path-for-pynac.patch b/debian/patches/u1-singular-include-path-for-pynac.patch
new file mode 100644
index 0000000..b17af95
--- /dev/null
+++ b/debian/patches/u1-singular-include-path-for-pynac.patch
@@ -0,0 +1,14 @@
+Description: Compile pynac interface with SINGULAR_CFLAGS to find its headers
+ pynac/basic.h includes factory/factory.h so this is needed to find it.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/sage/src/sage/libs/pynac/pynac.pxd
++++ b/sage/src/sage/libs/pynac/pynac.pxd
+@@ -1,6 +1,6 @@
+ # distutils: language = c++
+ # distutils: libraries = pynac gmp
+-# distutils: extra_compile_args = -std=c++11
++# distutils: extra_compile_args = -std=c++11 SINGULAR_CFLAGS
+ """
+ Declarations for pynac, a Python frontend for ginac
+ 

-- 
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