aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/sphinxbase-fix-doxygen.patch
blob: c8ebc52628707669373ebdcef4f685b911d85cf4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
https://github.com/cmusphinx/sphinxbase/commit/6989c52a3fb9473fd61326e548440fff887525c2

commit 6989c52a3fb9473fd61326e548440fff887525c2
Author: Michel Zou <xantares09@hotmail.com>
Date:   Thu Feb 6 07:02:06 2020 +0100

    Fix doxy2swig.py IndexError: list index out of range

diff --git a/doc/doxy2swig.py b/doc/doxy2swig.py
index 5589b0d..a01c4b1 100644
--- a/doc/doxy2swig.py
+++ b/doc/doxy2swig.py
@@ -299,7 +299,10 @@ class Doxy2SWIG:
             name = first['name'].firstChild.data
 
             for n in node.getElementsByTagName('param'):
-              arg_type = n.getElementsByTagName('type')[0]
+              elts = n.getElementsByTagName('type')
+              if len(elts) == 0:
+                  continue
+              arg_type = elts[0]
               ref = self.get_specific_nodes(arg_type, ('ref'))
               if 'ref' in ref:
                 type_name = ref['ref'].firstChild.data
/tr> 2024-04-29gnu: ntl: Correct license....* gnu/packages/algebra.scm (ntl)[license]: Set to lgpl2.1+. [source]: Remove trailing #t in snippet. Change-Id: Ibfcb520aa7fe71087adf2352b4051185a0d6f11e Andreas Enge 2024-04-29gnu: flint: Update to 3.1.2....* gnu/packages/algebra.scm (flint): Update to 3.1.2. [arguments]: Add a configure flag. [license]: Change to lgpl3+. Change-Id: I57d6dc7e1ce90399d9e4c01b35e62793bfc07bee Andreas Enge 2024-04-29gnu: pari-gp: Update to 2.15.5....* gnu/packages/algebra.scm (pari-gp): Update to 2.15.5. Change-Id: I1facc04b52153b924f4575725404eab4477dad9f Andreas Enge 2024-04-04gnu: giac: Switch to openblas....* gnu/packages/algebra.scm (giac): Switch input dependency from lapack to openblas. Change-Id: I1ba95b5b606baf3192fdd3f651c9a74ab6e820c1 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Romain GARBAGE 2024-03-29gnu: fftw-cmake: New Variables....This is a clone of the fftw function, but uses cmake to build in order for the FFTW3LibraryDepends.cmake file to be built, neccesary for packages with cmake builds that depend on fftw3. See: https://bugzilla.redhat.com/show_bug.cgi?id=1729652#c5 This variable inherits from the existing fftw3 in order to not break any downstream packages that make use of the target optimizations given by the gnu build. * gnu/packages/algebra.scm (fftw-cmake): New variable. Change-Id: Idb06f86031123de3b2621953a385f4f57d9b5cc5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Mehmet Tekman 2024-03-17gnu: giac: Update to 1.9.0-93....* gnu/packages/algebra.scm (giac): Update to 1.9.0-93. Change-Id: I04edd98fc1f0573f4100e7cdbe94eeaee0ab93e2 Nicolas Goaziou 2024-02-26gnu: Add paritwine....* gnu/packages/algebra.scm (paritwine): New variable. Change-Id: If2a55dd4a42d4d27a67249bd11592635ade20351 Andreas Enge 2024-02-26gnu: cm: Update to 0.4.3....* gnu/packages/algebra.scm (cm): Update to 0.4.3. [inputs]: Add flint. Change-Id: Icb1a01a2abcdf6a0685503a0d032a21b42d464d6 Andreas Enge 2024-01-26gnu: arb: Deprecate package....* gnu/packages/algebra.scm (arb): Deprecate in favor of flint, of which it is now a part. Change-Id: I02ee2110e77c582b8daf70502f7092eba7c44547 Andreas Enge 2024-01-26gnu: python-flint: Update to 0.5.0 and build with flint@3....* gnu/packages/patches/python-flint-includes.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Unregister file. * gnu/packages/algebra.scm (python-flint): Update to 0.5.0. [source]: Drop patch. [inputs]: Drop arb. [native-inputs]: Use python-cython-3. Change-Id: I5fa9b201efff76e16f957aee0ebcd453ea823e69 Andreas Enge 2024-01-26gnu: flint: Update to 3.0.1....* gnu/packages/algebra.scm (flint): Update to 3.0.1. [arguments]: Remove obsolete phase additions. Change-Id: Iebac9d3a0b1e19147df9402d522c55cb168148d7 Andreas Enge 2024-01-24gnu: singular: Update to 4.3.2p10....* gnu/packages/algebra.scm (singular): Update to 4.3.2p10. Change-Id: I196d31e3f5605dd51385146ce091d63a4e9eb340 Andreas Enge 2024-01-19gnu: symengine: Update to 0.11.2....* gnu/packages/algebra.scm (symengine): Update to 0.11.2. Change-Id: I34c24dd8591e306a7740f0a3d51077aceec67fab Vinicius Monego 2023-12-25gnu: Adjust to removing ed.scm and nano.scm...This is a follow-up to f6817e71dff7d0d9fdb55db8b85a1d3d04e2bf5a and e11e65a9ad08e18ea2faac3c9f4639a7b189bf76. * gnu/installer.scm, gnu/packages/algebra.scm, gnu/packages/base.scm, gnu/packages/cook.scm, gnu/packages/lisp.scm, gnu/packages/patchutils.scm, gnu/packages/version-control.scm, gnu/packages/web-browsers.scm, gnu/system.scm: Adjust module imports. Change-Id: I25e5519fa003c35a14b81c3dda37b24527858634 Efraim Flashner 2023-11-26gnu: fftw: Update to 3.3.10...* gnu/packages/algebra.scm (fftw): Update to 3.3.10 Change-Id: Icd6e199aa4e863f0d5c0883326a02e2991b811d3 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> mtekman