commit: 8e78b4f5cfe5ff2be4a246c0620a79408404071b Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Mon Feb 26 07:47:34 2024 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Mon Feb 26 07:48:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e78b4f5
dev-tcltk/tdom: fix for new expat Closes: https://bugs.gentoo.org/924859 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-tcltk/tdom/files/tdom-0.9.3-expat.patch | 10 ++++++++++ dev-tcltk/tdom/tdom-0.9.3.ebuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/tdom/files/tdom-0.9.3-expat.patch b/dev-tcltk/tdom/files/tdom-0.9.3-expat.patch new file mode 100644 index 000000000000..a55fa4b22c14 --- /dev/null +++ b/dev-tcltk/tdom/files/tdom-0.9.3-expat.patch @@ -0,0 +1,10 @@ +--- a/generic/dom.h 2024-02-26 08:37:08.464473295 +0100 ++++ b/generic/dom.h 2024-02-26 08:43:19.859997138 +0100 +@@ -37,6 +37,7 @@ + #include <stdlib.h> + #include <string.h> + #include <ctype.h> ++#define XML_GE 1 + #include <expat.h> + #include <domalloc.h> + diff --git a/dev-tcltk/tdom/tdom-0.9.3.ebuild b/dev-tcltk/tdom/tdom-0.9.3.ebuild index 4fce30a261a6..86d97afcb2ba 100644 --- a/dev-tcltk/tdom/tdom-0.9.3.ebuild +++ b/dev-tcltk/tdom/tdom-0.9.3.ebuild @@ -23,7 +23,10 @@ RDEPEND="${DEPEND}" S="${WORKDIR}"/${P}-src -PATCHES=( "${FILESDIR}"/${PN}-0.9.2-useCC.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.9.2-useCC.patch + "${FILESDIR}"/${P}-expat.patch +) QA_CONFIG_IMPL_DECL_SKIP=( stat64 arc4random_buf arc4random # used to test for Large File Support
