1 |
commit: 63b754832e7537ac7bc657caabc1ae32e457c2b6 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 31 20:25:41 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 31 20:25:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b75483 |
7 |
|
8 |
dev-tcltk/tdom: fix build with tcl unthreaded |
9 |
|
10 |
Closes: https://bugs.gentoo.org/821598 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
13 |
|
14 |
dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch | 11 +++++++++++ |
15 |
dev-tcltk/tdom/tdom-0.9.2.ebuild | 5 ++++- |
16 |
2 files changed, 15 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch b/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch |
19 |
new file mode 100644 |
20 |
index 000000000000..b24c9821f0d4 |
21 |
--- /dev/null |
22 |
+++ b/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch |
23 |
@@ -0,0 +1,11 @@ |
24 |
+--- a/generic/tdomDecls.h 2021-12-31 20:52:18.070370435 +0100 |
25 |
++++ b/generic/tdomDecls.h 2021-12-31 20:53:45.892045820 +0100 |
26 |
+@@ -63,7 +63,7 @@ |
27 |
+ EXTERN domDocument * tcldom_getDocumentFromName(Tcl_Interp *interp, |
28 |
+ char *docName, char **errMsg); |
29 |
+ /* 18 */ |
30 |
+-EXTERN SchemaData * tdomGetSchemadata(void); |
31 |
++EXTERN SchemaData * tdomGetSchemadata(Tcl_Interp *interp); |
32 |
+ |
33 |
+ typedef struct TdomStubs { |
34 |
+ int magic; |
35 |
|
36 |
diff --git a/dev-tcltk/tdom/tdom-0.9.2.ebuild b/dev-tcltk/tdom/tdom-0.9.2.ebuild |
37 |
index c8dbe69542c7..29ad01876f00 100644 |
38 |
--- a/dev-tcltk/tdom/tdom-0.9.2.ebuild |
39 |
+++ b/dev-tcltk/tdom/tdom-0.9.2.ebuild |
40 |
@@ -23,7 +23,10 @@ RDEPEND="${DEPEND}" |
41 |
|
42 |
S="${WORKDIR}"/${P}-src |
43 |
|
44 |
-PATCHES=( "${FILESDIR}"/${P}-useCC.patch ) |
45 |
+PATCHES=( |
46 |
+ "${FILESDIR}"/${P}-useCC.patch |
47 |
+ "${FILESDIR}"/${P}-nothreads.patch |
48 |
+) |
49 |
|
50 |
src_prepare() { |
51 |
append-libs -lm |