summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/expat/ChangeLog9
-rw-r--r--dev-libs/expat/expat-1.95.6-r1.ebuild33
-rw-r--r--dev-libs/expat/files/digest-expat-1.95.6-r11
-rw-r--r--dev-libs/expat/files/xmlstatus.patch30
4 files changed, 72 insertions, 1 deletions
diff --git a/dev-libs/expat/ChangeLog b/dev-libs/expat/ChangeLog
index 3fce7c8de20d..5d509a7ee281 100644
--- a/dev-libs/expat/ChangeLog
+++ b/dev-libs/expat/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/expat
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.16 2003/03/08 23:09:24 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.17 2003/03/17 07:58:58 phosphan Exp $
+
+*expat-1.95.6-r1 (17 Mar 2003)
+
+ 17 Mar 2003; Patrick Kursawe <phosphan@gentoo.org> :
+ added patch xmlstatus to fix problem described in
+ sourceforge request 676844 and gentoo bug 17426
+ (that made pwlib build fail)
*expat-1.95.6 (09 Mar 2003)
diff --git a/dev-libs/expat/expat-1.95.6-r1.ebuild b/dev-libs/expat/expat-1.95.6-r1.ebuild
new file mode 100644
index 000000000000..879f8942f7e0
--- /dev/null
+++ b/dev-libs/expat/expat-1.95.6-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-1.95.6-r1.ebuild,v 1.1 2003/03/17 07:58:58 phosphan Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XML parsing libraries"
+SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
+HOMEPAGE="http://expat.sourceforge.net"
+DEPEND="virtual/glibc"
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~arm"
+
+inherit eutils
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ epatch ${FILESDIR}/xmlstatus.patch || die "patch failed"
+}
+
+src_compile() {
+ econf
+ # parallel make doesnt work
+ make || die
+}
+
+src_install() {
+ einstall \
+ mandir=${D}/usr/share/man/man1
+ dodoc COPYING Changes MANIFEST README
+ dohtml doc/*
+}
diff --git a/dev-libs/expat/files/digest-expat-1.95.6-r1 b/dev-libs/expat/files/digest-expat-1.95.6-r1
new file mode 100644
index 000000000000..2e39f0aa0fb9
--- /dev/null
+++ b/dev-libs/expat/files/digest-expat-1.95.6-r1
@@ -0,0 +1 @@
+MD5 ca78d94e83e9f077b5da2bfe28ba986a expat-1.95.6.tar.gz 291876
diff --git a/dev-libs/expat/files/xmlstatus.patch b/dev-libs/expat/files/xmlstatus.patch
new file mode 100644
index 000000000000..04cb2a8669ec
--- /dev/null
+++ b/dev-libs/expat/files/xmlstatus.patch
@@ -0,0 +1,30 @@
+--- expat.h 2003-03-17 08:34:33.000000000 +0100
++++ expat.h.new 2003-03-17 08:35:29.000000000 +0100
+@@ -653,6 +653,13 @@
+ Note: Calling XML_SetEncoding after XML_Parse or XML_ParseBuffer
+ has no effect and returns XML_STATUS_ERROR.
+ */
++enum XML_Status {
++ XML_STATUS_ERROR = 0,
++#define XML_STATUS_ERROR XML_STATUS_ERROR
++ XML_STATUS_OK = 1
++#define XML_STATUS_OK XML_STATUS_OK
++};
++
+ XMLPARSEAPI(enum XML_Status)
+ XML_SetEncoding(XML_Parser parser, const XML_Char *encoding);
+
+@@ -732,13 +739,6 @@
+
+ Otherwise, the #define hackery is quite ugly and would have been dropped.
+ */
+-enum XML_Status {
+- XML_STATUS_ERROR = 0,
+-#define XML_STATUS_ERROR XML_STATUS_ERROR
+- XML_STATUS_OK = 1
+-#define XML_STATUS_OK XML_STATUS_OK
+-};
+-
+ XMLPARSEAPI(enum XML_Status)
+ XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
+