summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-01-18 20:40:40 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-01-18 20:40:40 +0100
commitfe5a5b96e8920196238a55b8c39e5f31adfc88a6 (patch)
treed0ad4d111efe8067ecb8bca0bebe649cfbbc87a9 /dev-tcltk/tdom
parentdev-tcltk/tix: do not overwrite user's optimization (diff)
downloadgentoo-fe5a5b96e8920196238a55b8c39e5f31adfc88a6.tar.gz
gentoo-fe5a5b96e8920196238a55b8c39e5f31adfc88a6.tar.bz2
gentoo-fe5a5b96e8920196238a55b8c39e5f31adfc88a6.zip
dev-tcltk/tdom: clang6
Closes: https://bugs.gentoo.org/884415 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tdom')
-rw-r--r--dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch11
-rw-r--r--dev-tcltk/tdom/tdom-0.9.2-r1.ebuild (renamed from dev-tcltk/tdom/tdom-0.9.2.ebuild)3
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch b/dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch
new file mode 100644
index 000000000000..4bf5e3b2486e
--- /dev/null
+++ b/dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch
@@ -0,0 +1,11 @@
+--- a/generic/tdomDecls.h 2023-01-18 20:37:24.944545544 +0100
++++ b/generic/tdomDecls.h 2023-01-18 20:37:36.574361814 +0100
+@@ -87,7 +87,7 @@
+ int (*xML_GetIdAttributeIndex) (XML_Parser parser); /* 15 */
+ domNode * (*tcldom_getNodeFromName) (Tcl_Interp *interp, char *nodeName, char **errMsg); /* 16 */
+ domDocument * (*tcldom_getDocumentFromName) (Tcl_Interp *interp, char *docName, char **errMsg); /* 17 */
+- SchemaData * (*tdomGetSchemadata) (void); /* 18 */
++ SchemaData * (*tdomGetSchemadata) (Tcl_Interp *interp); /* 18 */
+ } TdomStubs;
+
+ extern const TdomStubs *tdomStubsPtr;
diff --git a/dev-tcltk/tdom/tdom-0.9.2.ebuild b/dev-tcltk/tdom/tdom-0.9.2-r1.ebuild
index cebbb3e19ed9..0b92c7636533 100644
--- a/dev-tcltk/tdom/tdom-0.9.2.ebuild
+++ b/dev-tcltk/tdom/tdom-0.9.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -26,6 +26,7 @@ S="${WORKDIR}"/${P}-src
PATCHES=(
"${FILESDIR}"/${P}-useCC.patch
"${FILESDIR}"/${P}-nothreads.patch
+ "${FILESDIR}"/${P}-clang6.patch
)
src_prepare() {