[pynac] 03/04: Drop the static-python-fix patch, which got upstreamed
Julien Puydt
julien.puydt at laposte.net
Fri Jun 30 16:28:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository pynac.
commit cae5f23d667f6568e3c3193f1de7414a14d8c929
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Fri Jun 30 17:25:37 2017 +0200
Drop the static-python-fix patch, which got upstreamed
---
debian/changelog | 1 +
debian/patches/series | 1 -
debian/patches/static-python-fix.patch | 21 ---------------------
3 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0cef921..2bd8b45 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
pynac (0.7.9-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Drop static-python-fix.patch, which got upstreamed.
-- Julien Puydt <julien.puydt at laposte.net> Fri, 30 Jun 2017 17:24:06 +0200
diff --git a/debian/patches/series b/debian/patches/series
index d4c0931..89d54fa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
find_singular.patch
-static-python-fix.patch
diff --git a/debian/patches/static-python-fix.patch b/debian/patches/static-python-fix.patch
deleted file mode 100644
index f10902b..0000000
--- a/debian/patches/static-python-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Description: This fixes a segfault occurring after the docbuild of sagemath.
-Author: Ralf Stephan <ralf at ark.in-berlin.de>
-Origin: https://trac.sagemath.org/ticket/23134
-
---- a/ginac/numeric.cpp
-+++ b/ginac/numeric.cpp
-@@ -1500,8 +1500,12 @@
- return c;
- else if (d.is_minus_one()
- and expo.denom().is_equal(*_num2_p)) {
-- static numeric a[] = { *_num1_p, I, *_num_1_p, -I };
-- return a[expo.numer().to_long() % 4] * c;
-+ switch (expo.numer().to_long() % 4) {
-+ case 0: return c;
-+ case 1: return I*c;
-+ case 2: return -c;
-+ case 3: return -I*c;
-+ };
- }
- else if (not c_unit)
- return d.power(expo) * c;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pynac.git
More information about the debian-science-commits
mailing list