summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-05 09:01:13 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-05 09:01:13 +0000
commitc2c9aff8c0524b47b95699ded988b89aa1309406 (patch)
tree8b0ecdf118995735a0e5014c7991d97c94428a46 /dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch
parent9f814b4c24f5a9bd139baac62df5b34ad39b9dc1 (diff)
downloadsrcux-c2c9aff8c0524b47b95699ded988b89aa1309406.tar.gz
srcux-c2c9aff8c0524b47b95699ded988b89aa1309406.tar.xz
srcux-c2c9aff8c0524b47b95699ded988b89aa1309406.zip
Adding metadata
Diffstat (limited to 'dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch')
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch b/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch
deleted file mode 100644
index 7baf5708b8ff..000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-https://bugs.gentoo.org/934482
-https://github.com/wxWidgets/Phoenix/commit/6a049ccc0ad96f25c3f7d8540b218ffe8921d8c5
-
-From 6a049ccc0ad96f25c3f7d8540b218ffe8921d8c5 Mon Sep 17 00:00:00 2001
-From: Scott Talbert <swt@techie.net>
-Date: Tue, 5 Dec 2023 23:42:21 -0500
-Subject: [PATCH] Support building with Doxygen 1.9.7
-
-Doxygen 1.9.7 made some changes whereby some method definitions are now
-defined in separate XML files, with a "refid" that links to them. In
-order to support this, we need to follow these "refids" to pick up the
-method definition from the separate group XML files.
---- a/etgtools/extractors.py
-+++ b/etgtools/extractors.py
-@@ -62,6 +62,8 @@ def extract(self, element):
- # class. Should be overridden in derived classes to get what each one
- # needs in addition to the base.
- self.name = element.find(self.nameTag).text
-+ if self.name is None:
-+ self.name = ''
- if '::' in self.name:
- loc = self.name.rfind('::')
- self.name = self.name[loc+2:]
-@@ -1574,12 +1576,21 @@ def addElement(self, element):
- extractingMsg(kind, element)
- for node in element.findall('sectiondef/memberdef'):
- self.addElement(node)
-+ for node in element.findall('sectiondef/member'):
-+ node = self.resolveRefid(node)
-+ self.addElement(node)
-
- else:
- raise ExtractorError('Unknown module item kind: %s' % kind)
-
- return item
-
-+ def resolveRefid(self, node):
-+ from etgtools import XMLSRC
-+ refid = node.get('refid')
-+ fname = os.path.join(XMLSRC, refid.rsplit('_', 1)[0]) + '.xml'
-+ root = et.parse(fname).getroot()
-+ return root.find(".//memberdef[@id='{}']".format(refid))
-
-
- def addCppFunction(self, type, name, argsString, body, doc=None, **kw):
-