diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sci-mathematics/singular/files/singular-3.1.3.2-python.patch | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sci-mathematics/singular/files/singular-3.1.3.2-python.patch')
-rw-r--r-- | sci-mathematics/singular/files/singular-3.1.3.2-python.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sci-mathematics/singular/files/singular-3.1.3.2-python.patch b/sci-mathematics/singular/files/singular-3.1.3.2-python.patch deleted file mode 100644 index 2cc29c9a553b..000000000000 --- a/sci-mathematics/singular/files/singular-3.1.3.2-python.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- Singular/pyobject.cc.orig 2011-01-31 15:03:16.000000000 +0100 -+++ Singular/pyobject.cc 2011-08-24 17:22:57.000000000 +0200 -@@ -14,7 +14,7 @@ - - - -- -+#include <Python.h> - - #include <Singular/mod2.h> - -@@ -27,7 +27,7 @@ - - #include <Singular/lists.h> - --#include <Python.h> -+ - #include <iterator> // std::distance - #include <stdio.h> - -@@ -592,11 +592,12 @@ - long len = newElts.size(); - for (long idx = 0; idx < len; ++idx) - { -- char* name = newElts[idx][0].str(); -+ PythonObject current (newElts[idx]); -+ char* name = current.operator[](0).str(); - if (name && (*name != '\0') && (*name != '_')) - { - Py_XDECREF(get_current_definition(name)); -- newElts[idx][1].import_as(name); -+ newElts[idx].operator[](1).import_as(name); - } - - } ---- Singular/pyobject_setup.cc.orig 2011-02-10 19:15:30.000000000 +0100 -+++ Singular/pyobject_setup.cc 2011-08-24 17:23:55.000000000 +0200 -@@ -12,6 +12,7 @@ - **/ - //***************************************************************************** - -+#include <Python.h> - #include <Singular/mod2.h> - #include <kernel/febase.h> - #include "static.h" |