diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-12-31 21:25:41 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-12-31 21:25:41 +0100 |
commit | 63b754832e7537ac7bc657caabc1ae32e457c2b6 (patch) | |
tree | e6db757dba15e47ad721d86b8dcf3b87b488eb17 /dev-tcltk | |
parent | dev-python/git-review: remove old and broken 2.1.0 (diff) | |
download | gentoo-63b754832e7537ac7bc657caabc1ae32e457c2b6.tar.gz gentoo-63b754832e7537ac7bc657caabc1ae32e457c2b6.tar.bz2 gentoo-63b754832e7537ac7bc657caabc1ae32e457c2b6.zip |
dev-tcltk/tdom: fix build with tcl unthreaded
Closes: https://bugs.gentoo.org/821598
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch | 11 | ||||
-rw-r--r-- | dev-tcltk/tdom/tdom-0.9.2.ebuild | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch b/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch new file mode 100644 index 000000000000..b24c9821f0d4 --- /dev/null +++ b/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch @@ -0,0 +1,11 @@ +--- a/generic/tdomDecls.h 2021-12-31 20:52:18.070370435 +0100 ++++ b/generic/tdomDecls.h 2021-12-31 20:53:45.892045820 +0100 +@@ -63,7 +63,7 @@ + EXTERN domDocument * tcldom_getDocumentFromName(Tcl_Interp *interp, + char *docName, char **errMsg); + /* 18 */ +-EXTERN SchemaData * tdomGetSchemadata(void); ++EXTERN SchemaData * tdomGetSchemadata(Tcl_Interp *interp); + + typedef struct TdomStubs { + int magic; diff --git a/dev-tcltk/tdom/tdom-0.9.2.ebuild b/dev-tcltk/tdom/tdom-0.9.2.ebuild index c8dbe69542c7..29ad01876f00 100644 --- a/dev-tcltk/tdom/tdom-0.9.2.ebuild +++ b/dev-tcltk/tdom/tdom-0.9.2.ebuild @@ -23,7 +23,10 @@ RDEPEND="${DEPEND}" S="${WORKDIR}"/${P}-src -PATCHES=( "${FILESDIR}"/${P}-useCC.patch ) +PATCHES=( + "${FILESDIR}"/${P}-useCC.patch + "${FILESDIR}"/${P}-nothreads.patch +) src_prepare() { append-libs -lm |