diff options
-rw-r--r-- | dev-tcltk/tclxml/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch | 26 | ||||
-rw-r--r-- | dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild | 44 |
3 files changed, 0 insertions, 71 deletions
diff --git a/dev-tcltk/tclxml/Manifest b/dev-tcltk/tclxml/Manifest index 0e19de9f7d01..0a786ea1decb 100644 --- a/dev-tcltk/tclxml/Manifest +++ b/dev-tcltk/tclxml/Manifest @@ -1,2 +1 @@ DIST TclXML-3.3.1.tar.gz 681802 BLAKE2B e29bcdb2ef79aa1d1f41ff1338981c0c2d0592fbd146daad102552b2609ab844b12d5de5807a9a26400860783b94df7b754d4ef96a5ab377732dcefaae3c0c21 SHA512 8ee9e36fc8cb9a68da5f810442b5b6fa8d020ef772b9ee98d7c3e429c41ec158451c8994ec5800636db8b33f39a2df7e37c6b64a20a24f7fe4e72e0bba3f2ff3 -DIST tclxml-3.2.7.tar.gz 313751 BLAKE2B 43983d2d6c2f339fa320c4748f889db49fbe9cfff15219e898fdfe5a9a7d6526a2b40b7697fdca6f5272bdfb52cbe68af53ced711ad5d476dc2c5e31898c00ba SHA512 23cb17466f777538088998fa4cce55531708bba517d45cb8b4281401779c418f8532376e4aefcf4bb5f3674ee5bab2e0db25ab2a69c153d3e5820c509edf12ae diff --git a/dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch b/dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch deleted file mode 100644 index 8d29180f0826..000000000000 --- a/dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/tclxml.c 2020-12-24 16:58:20.051675497 +0100 -+++ b/tclxml.c 2020-12-24 16:58:49.586185021 +0100 -@@ -20,6 +20,10 @@ - #include <tclxslt/tclxslt.h> - #include <string.h> - -+#ifdef bool -+#undef bool -+#endif -+ - int Tcldom_libxml2_Init ( Tcl_Interp *interp ); - - #define TCL_DOES_STUBS \ ---- a/tclxslt-libxslt.c 2020-12-24 16:59:07.004895777 +0100 -+++ b/tclxslt-libxslt.c 2020-12-24 16:59:46.280243657 +0100 -@@ -20,6 +20,10 @@ - #include <libxslt/imports.h> - #include <libxslt/security.h> - -+#ifdef bool -+#undef bool -+#endif -+ - #undef TCL_STORAGE_CLASS - #define TCL_STORAGE_CLASS DLLEXPORT - diff --git a/dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild b/dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild deleted file mode 100644 index 5c4a298b68e7..000000000000 --- a/dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Pure Tcl implementation of an XML parser" -HOMEPAGE="http://tclxml.sourceforge.net/" -SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ppc sparc x86" -IUSE="debug threads" - -DEPEND=" - >=dev-lang/tcl-8.2:= - >=dev-libs/libxml2-2.6.9 - dev-libs/libxslt - >=dev-tcltk/tcllib-1.2 - dev-libs/expat" -# test? ( dev-tcltk/tclparser ) -RDEPEND="${DEPEND}" - -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch - "${FILESDIR}"/${P}-bool.patch -) - -src_configure() { - local myconf="" - - use threads && myconf="${myconf} --enable-threads" - - econf ${myconf} \ - --with-xml2-config="${EPREFIX}"/usr/bin/xml2-config \ - --with-xslt-config="${EPREFIX}"/usr/bin/xslt-config \ - --with-tclinclude="${EPREFIX}"/usr/include \ - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ - $(use_enable amd64 64bit) \ - $(use_enable debug symbols) -} |