[sagemath] 01/01: Add patch to remove singular warning (Singular will be updated to 4.0 anyway).
Tobias Hansen
thansen at moszumanska.debian.org
Sun Mar 8 00:17:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository sagemath.
commit ce6d1e57d5783de1b0d1242ec4132aa48a3d6c50
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Sat Mar 7 23:38:43 2015 +0000
Add patch to remove singular warning (Singular will be updated to 4.0 anyway).
---
debian/patches/remove_singular_warning.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/remove_singular_warning.patch b/debian/patches/remove_singular_warning.patch
new file mode 100644
index 0000000..29ca429
--- /dev/null
+++ b/debian/patches/remove_singular_warning.patch
@@ -0,0 +1,21 @@
+--- /dev/null
++++ b/sage/build/pkgs/singular/patches/remove_warning.patch
+@@ -0,0 +1,18 @@
++diff -uri latest/kernel/mod_raw.cc latest.tmp/kernel/mod_raw.cc
++--- latest/kernel/mod_raw.cc 2014-11-19 14:06:05.000000000 +0100
+++++ latest.tmp/kernel/mod_raw.cc 2015-03-08 00:32:55.489679509 +0100
++@@ -150,10 +150,10 @@
++ handle = dynl_open(path_name);
++ if (handle == NULL && ! warn_handle)
++ {
++- Warn("Could not open dynamic library: %s", path_name);
++- Warn("Error message from system: %s", dynl_error());
++- if (msg != NULL) Warn("%s", msg);
++- Warn("See the INSTALL section in the Singular manual for details.");
+++ //Warn("Could not open dynamic library: %s", path_name);
+++ //Warn("Error message from system: %s", dynl_error());
+++ //if (msg != NULL) Warn("%s", msg);
+++ //Warn("See the INSTALL section in the Singular manual for details.");
++ warn_handle = TRUE;
++ }
++ }
diff --git a/debian/patches/series b/debian/patches/series
index b4e5ede..a1b8ee5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ unbreak.patch
trac_17872.patch
maxima.patch
trac_17796.patch
+remove_singular_warning.patch
--
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