summaryrefslogtreecommitdiffstats
path: root/academic/ViennaRNA/swig_4.2.0.txt
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ViennaRNA/swig_4.2.0.txt')
-rw-r--r--academic/ViennaRNA/swig_4.2.0.txt22
1 files changed, 0 insertions, 22 deletions
diff --git a/academic/ViennaRNA/swig_4.2.0.txt b/academic/ViennaRNA/swig_4.2.0.txt
deleted file mode 100644
index 80c1ba2b82..0000000000
--- a/academic/ViennaRNA/swig_4.2.0.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Description: rewriting code to build against swig 4.2.0
-Author: Pierre Gruet <pgt@debian.org>
-Forwarded: no
-Last-Update: 2024-07-26
-
---- a/interfaces/inverse.i
-+++ b/interfaces/inverse.i
-@@ -78,7 +78,14 @@
- #ifdef SWIGPYTHON
- %typemap(varin) char * symbolset {
- free(symbolset);
-+
-+#if SWIG_VERSION >= 0x040200
-+ PyObject *pbytes = NULL;
-+ symbolset = strdup(SWIG_PyUnicode_AsUTF8AndSize($input, NULL, &pbytes));
-+ Py_XDECREF(pbytes);
-+#else
- symbolset = strdup(SWIG_Python_str_AsChar($input));
-+#endif
- }
-
- %typemap(varout) char * symbolset {