diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-02-26 08:47:34 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-02-26 08:48:05 +0100 |
commit | 8e78b4f5cfe5ff2be4a246c0620a79408404071b (patch) | |
tree | 192229a1fb07528a6d92fb40f3d30f75ae1520d2 /dev-tcltk/tdom | |
parent | dev-vcs/tortoisehg: Stabilize 6.5.1 amd64, #925458 (diff) | |
download | gentoo-8e78b4f5cfe5ff2be4a246c0620a79408404071b.tar.gz gentoo-8e78b4f5cfe5ff2be4a246c0620a79408404071b.tar.bz2 gentoo-8e78b4f5cfe5ff2be4a246c0620a79408404071b.zip |
dev-tcltk/tdom: fix for new expat
Closes: https://bugs.gentoo.org/924859
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tdom')
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.9.3-expat.patch | 10 | ||||
-rw-r--r-- | dev-tcltk/tdom/tdom-0.9.3.ebuild | 5 |
2 files changed, 14 insertions, 1 deletions
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 |