summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-02-26 08:47:34 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-02-26 08:48:05 +0100
commit8e78b4f5cfe5ff2be4a246c0620a79408404071b (patch)
tree192229a1fb07528a6d92fb40f3d30f75ae1520d2
parentdev-vcs/tortoisehg: Stabilize 6.5.1 amd64, #925458 (diff)
downloadgentoo-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>
-rw-r--r--dev-tcltk/tdom/files/tdom-0.9.3-expat.patch10
-rw-r--r--dev-tcltk/tdom/tdom-0.9.3.ebuild5
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