diff options
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/tdom/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch | 11 | ||||
-rw-r--r-- | dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch | 22 | ||||
-rw-r--r-- | dev-tcltk/tdom/tdom-0.9.2-r1.ebuild | 83 |
4 files changed, 0 insertions, 117 deletions
diff --git a/dev-tcltk/tdom/Manifest b/dev-tcltk/tdom/Manifest index c5acd1147881..47dc39f63ce2 100644 --- a/dev-tcltk/tdom/Manifest +++ b/dev-tcltk/tdom/Manifest @@ -1,2 +1 @@ -DIST tdom-0.9.2-src.tgz 1215099 BLAKE2B 1d720043ee4acc27d3fad138baced96b291c2e39dc1535fb1927a9968e07324d5e0e0bb0c71d8e5678b8c6f4bb69fb09ce05ac9447712422af0d91c9e06c163e SHA512 ba6611db866f3afffd112887cf6b0f250273f29ab4ed8e29de89405b997a0f7569216f86206040462aba9a4b8548c346bc72945cf7d617cf45a644fa8ded7121 DIST tdom-0.9.3-src.tgz 1319804 BLAKE2B 8b4c50407eaf28c002ec8399d44881b91bef346dca75370c27e06266a5fa90900528a01fc8310d8a250f551e3a627d0d2965a2e85ef8a9132010f7718e5549ce SHA512 71a589465f84721f222b6312f51ee564d11d88a82000a0e5cc1dab4653bffd57347a39936590b62a580e9df59d7266ff3ae4295fe91ff4b9e58f012e80b0cb3e diff --git a/dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch b/dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch deleted file mode 100644 index 4bf5e3b2486e..000000000000 --- a/dev-tcltk/tdom/files/tdom-0.9.2-clang6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/files/tdom-0.9.2-nothreads.patch b/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch deleted file mode 100644 index a0a691fdce60..000000000000 --- a/dev-tcltk/tdom/files/tdom-0.9.2-nothreads.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- 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; ---- a/generic/schema.c 2021-12-31 23:19:47.869682736 +0100 -+++ b/generic/schema.c 2021-12-31 23:20:14.474255669 +0100 -@@ -419,7 +419,7 @@ - } - #else - SchemaData * --tdomGetSchemadata (void) -+tdomGetSchemadata (Tcl_Interp *interp) - { - return GETASI; - } diff --git a/dev-tcltk/tdom/tdom-0.9.2-r1.ebuild b/dev-tcltk/tdom/tdom-0.9.2-r1.ebuild deleted file mode 100644 index fab0aebae09e..000000000000 --- a/dev-tcltk/tdom/tdom-0.9.2-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic - -MY_P="tDOM-${PV}" - -DESCRIPTION="A XML/DOM/XPath/XSLT Implementation for Tcl" -HOMEPAGE="https://core.tcl.tk/tdom/" -SRC_URI="http://tdom.org/downloads/${P}-src.tgz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="threads" - -DEPEND=" - dev-lang/tcl:0= - dev-libs/expat" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/${P}-src - -PATCHES=( - "${FILESDIR}"/${P}-useCC.patch - "${FILESDIR}"/${P}-nothreads.patch - "${FILESDIR}"/${P}-clang6.patch -) - -src_prepare() { - append-libs -lm - sed \ - -e 's:-O2::g' \ - -e 's:-pipe::g' \ - -e 's:-fomit-frame-pointer::g' \ - -e '/SHLIB_LD_LIBS/s:\"$: ${TCL_LIB_FLAG}":g' \ - -i tclconfig/tcl.m4 || die - mv extensions/tnc/configure.{in,ac} || die - mv extensions/example/configure.{in,ac} || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable threads) - --enable-shared - --with-tcl="${EPREFIX}"/usr/$(get_libdir) - ) - - cd "${S}"/unix && ECONF_SOURCE=".." econf ${myeconfargs} \ - --disable-tdomalloc --with-expat - cd "${S}"/extensions/tdomhtml && econf - cd "${S}"/extensions/tnc && econf ${myeconfargs} -} - -src_compile() { - local dir - - for dir in "${S}"/unix "${S}"/extensions/tnc; do - pushd ${dir} > /dev/null - emake - popd > /dev/null - done -} - -src_test() { - cd unix && default -} - -src_install() { - local dir - - dodoc CHANGES ChangeLog README* - - for dir in "${S}"/unix "${S}"/extensions/tdomhtml "${S}"/extensions/tnc; do - pushd ${dir} > /dev/null - emake DESTDIR="${D}" install - popd > /dev/null - done -} |