diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2009-08-08 02:25:55 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2009-08-08 02:25:55 +0000 |
commit | c906d62585b24aa042fee7132ee8849c5e131e63 (patch) | |
tree | 1ec3e7d95d5148fbb1a65522dbb4075d441be602 /dev-tcltk | |
parent | Version bump, remove old (diff) | |
download | historical-c906d62585b24aa042fee7132ee8849c5e131e63.tar.gz historical-c906d62585b24aa042fee7132ee8849c5e131e63.tar.bz2 historical-c906d62585b24aa042fee7132ee8849c5e131e63.zip |
bug 253515
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/tclxml-expat/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tcltk/tclxml-expat/Manifest | 4 | ||||
-rw-r--r-- | dev-tcltk/tclxml-expat/files/tclxml-expat-no-bundle.patch | 91 | ||||
-rw-r--r-- | dev-tcltk/tclxml-expat/tclxml-expat-2.4-r1.ebuild | 41 |
4 files changed, 143 insertions, 3 deletions
diff --git a/dev-tcltk/tclxml-expat/ChangeLog b/dev-tcltk/tclxml-expat/ChangeLog index 8d46aed27341..dff64dd8b309 100644 --- a/dev-tcltk/tclxml-expat/ChangeLog +++ b/dev-tcltk/tclxml-expat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-tcltk/tclxml-expat -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml-expat/ChangeLog,v 1.15 2008/08/17 03:47:16 mr_bones_ Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml-expat/ChangeLog,v 1.16 2009/08/08 02:25:55 mescalinum Exp $ + +*tclxml-expat-2.4-r1 (08 Aug 2009) + + 08 Aug 2009; Federico Ferri <mescalinum@gentoo.org> + +tclxml-expat-2.4-r1.ebuild, +files/tclxml-expat-no-bundle.patch: + add -r1 for fixing bug 253515 17 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org> -tclxml-expat-2.6.ebuild: diff --git a/dev-tcltk/tclxml-expat/Manifest b/dev-tcltk/tclxml-expat/Manifest index cfb18775f125..b629122bc800 100644 --- a/dev-tcltk/tclxml-expat/Manifest +++ b/dev-tcltk/tclxml-expat/Manifest @@ -1,4 +1,6 @@ +AUX tclxml-expat-no-bundle.patch 2961 RMD160 5666510239e5a3c8a88598de8eea2303e4c6289f SHA1 b4ff5bc4fe0eb9c4fbb9180075d448bbb3c1de5a SHA256 0413e1d85fbe6999f9912a0f1e0420f7784c9663fbae648814eb295ea79a7c49 DIST tclxml-2.4.tar.gz 405119 RMD160 46d0ca8ade99d6072a30a005c377c4f84feec34f SHA1 e9f483f552cf3e3f10782e50fa171c2ddf92dea8 SHA256 eaf6850bb29eeab6958e09f3b0649b0b9b3bce874177d8ef56d4345f4bbffba1 +EBUILD tclxml-expat-2.4-r1.ebuild 1029 RMD160 18945f76584ab0deb6b981f0993c3085587ab9e1 SHA1 538a8f58e56e86950b9fd7c9fc716ac021c87188 SHA256 5386495dd3779448aeff28e78e988ada8f3e2e2897104eb1c272d60dfb5f9d06 EBUILD tclxml-expat-2.4.ebuild 715 RMD160 e2b5251ce640ca7f04d2a057648e961e15c095de SHA1 2fbde53315a2b31af943e62b2f8d1b856a05aa62 SHA256 4412087d1aa514854dc6b93d0c844caedb4bd106a7056c075f180b02946dbc84 -MISC ChangeLog 1720 RMD160 acab9a855497e1603356d17aac04da03ba3bc79f SHA1 184b9e75ac0bd76e4449f1fc3a7dfea107d1f674 SHA256 f797cca07a60a8a74ab2c25eb311235b0fd730eba623e3e6da7b298661872775 +MISC ChangeLog 1912 RMD160 2f505ab5e1794abb858ae2f09acf1b8c466334eb SHA1 d3ca3341c6f5c3c13a173748fab66fa8aa35f54f SHA256 1c4b7b39d8cc1bd90d9ea2c94e6903257be054912140d10f6ab2a039d1018c3b MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 diff --git a/dev-tcltk/tclxml-expat/files/tclxml-expat-no-bundle.patch b/dev-tcltk/tclxml-expat/files/tclxml-expat-no-bundle.patch new file mode 100644 index 000000000000..cc442688173a --- /dev/null +++ b/dev-tcltk/tclxml-expat/files/tclxml-expat-no-bundle.patch @@ -0,0 +1,91 @@ +diff -urpN tclxml-2.4.orig/expat/Makefile.in tclxml-2.4/expat/Makefile.in +--- tclxml-2.4.orig/expat/Makefile.in 2009-08-08 03:56:41.000000000 +0200 ++++ tclxml-2.4/expat/Makefile.in 2009-08-08 03:58:13.000000000 +0200 +@@ -31,14 +31,10 @@ FILEMAP = @FILEMAP@ + + Tclexpat_SOURCES = \ + tclexpat.c \ +- xmltok.c \ +- xmlrole.c \ +- xmlwf.c \ + xmlfile.c \ + codepage.c \ + hashtable.c \ + $(FILEMAP).c \ +- xmlparse.c \ + @EXTRA_SOURCES@ + + WIN_SOURCES = +@@ -143,8 +139,8 @@ OBJEXT = @OBJEXT@ + RANLIB = @RANLIB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ + SHLIB_LD = @SHLIB_LD@ +-SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ +-SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ ++SHLIB_LDFLAGS = @SHLIB_LDFLAGS@ $(LDFLAGS) ++SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ -lexpat + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ + TCL_BIN_DIR = @TCL_BIN_DIR@ +@@ -230,7 +226,7 @@ install-binaries: binaries install-lib-b + install-libraries: libraries + @mkdir -p $(DESTDIR)$(includedir) + @echo "Installing header files in $(DESTDIR)$(includedir)" +- @for i in $(GENERIC_HDRS) ; do \ ++ @for i in ; do \ + echo "Installing $$i" ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(includedir) ; \ + done; +diff -urpN tclxml-2.4.orig/expat/xmlwf/xmlfile.c tclxml-2.4/expat/xmlwf/xmlfile.c +--- tclxml-2.4.orig/expat/xmlwf/xmlfile.c 2009-08-08 03:56:41.000000000 +0200 ++++ tclxml-2.4/expat/xmlwf/xmlfile.c 2009-08-08 03:58:56.000000000 +0200 +@@ -33,7 +33,7 @@ your version of this file under either t + #include <stddef.h> + #include <string.h> + #include <fcntl.h> +-#include "xmlparse.h" ++#include <expat.h> + #include "xmlfile.h" + #include "xmltchar.h" + #include "filemap.h" +diff -urpN tclxml-2.4.orig/expat/xmlwf/xmlwf.c tclxml-2.4/expat/xmlwf/xmlwf.c +--- tclxml-2.4.orig/expat/xmlwf/xmlwf.c 2009-08-08 03:56:41.000000000 +0200 ++++ tclxml-2.4/expat/xmlwf/xmlwf.c 2009-08-08 03:59:13.000000000 +0200 +@@ -33,7 +33,7 @@ your version of this file under either t + #include <stddef.h> + #include <string.h> + +-#include "xmlparse.h" ++#include <expat.h> + #include "codepage.h" + #include "xmlfile.h" + #include "xmltchar.h" +diff -urpN tclxml-2.4.orig/tclexpat.c tclxml-2.4/tclexpat.c +--- tclxml-2.4.orig/tclexpat.c 2009-08-08 03:56:41.000000000 +0200 ++++ tclxml-2.4/tclexpat.c 2009-08-08 04:02:20.000000000 +0200 +@@ -20,7 +20,7 @@ + + #include <tcl.h> + #include "tclxml.h" +-#include <xmlparse.h> ++#include <expat.h> + + #undef TCL_STORAGE_CLASS + #define TCL_STORAGE_CLASS DLLEXPORT +@@ -467,7 +467,16 @@ TclExpatConfigure (clientData, objc, obj + return TCL_ERROR; + } + ++ /* ++ * This method is not exported, so kludge around it by calling one of the ++ * SetDefaultHandler* functions that also sets the variable to the desired ++ * value. + XML_SetDefaultExpandInternalEntities(expat->parser, bool); ++ */ ++ if (bool) ++ XML_SetDefaultHandlerExpand(expat->parser, TclExpatDefaultHandler); ++ else ++ XML_SetDefaultHandler(expat->parser, TclExpatDefaultHandler); + + break; + diff --git a/dev-tcltk/tclxml-expat/tclxml-expat-2.4-r1.ebuild b/dev-tcltk/tclxml-expat/tclxml-expat-2.4-r1.ebuild new file mode 100644 index 000000000000..18d8377c1fe6 --- /dev/null +++ b/dev-tcltk/tclxml-expat/tclxml-expat-2.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclxml-expat/tclxml-expat-2.4-r1.ebuild,v 1.1 2009/08/08 02:25:55 mescalinum Exp $ + +inherit eutils + +DESCRIPTION="Tcl wrapper libraries for expat XML parser." +HOMEPAGE="http://tclxml.sourceforge.net/" +SRC_URI="mirror://sourceforge/tclxml/tclxml-${PV}.tar.gz" +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~sparc ~x86" + +DEPEND=">=dev-lang/tcl-8.3.3 + >=dev-libs/expat-1.95.4 + =dev-tcltk/tclxml-${PV}*" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/tclxml-${PV}/expat + +src_unpack() { + unpack ${A} + cd "${S}" + + # bug 253515 - bundles an internal copy of expat + pushd .. + epatch "${FILESDIR}"/${PN}-no-bundle.patch + rm -f "${S}"/xmlparse/xmlparse.[ch] "${S}"/xmltok/xmltok_ns.c \ + "${S}"/xmltok/xmltok.[ch] "${S}"/xmltok/xmlrole.[ch] + popd +} +src_compile() { + econf --with-tcl=/usr/lib --with-Tclxml=/usr/lib || die + make || die +} + +src_install() { + einstall || die + dohtml expat.html +} |