diff options
author | Arcady Genkin <agenkin@gentoo.org> | 2003-08-28 13:19:56 +0000 |
---|---|---|
committer | Arcady Genkin <agenkin@gentoo.org> | 2003-08-28 13:19:56 +0000 |
commit | 0e8a5fa58aa66c2c915852a13969a3dee7ba8e38 (patch) | |
tree | dd22b27902f5765a88dbe7362126214517ff6c9a /dev-libs/libofx | |
parent | fixes (diff) | |
download | gentoo-2-0e8a5fa58aa66c2c915852a13969a3dee7ba8e38.tar.gz gentoo-2-0e8a5fa58aa66c2c915852a13969a3dee7ba8e38.tar.bz2 gentoo-2-0e8a5fa58aa66c2c915852a13969a3dee7ba8e38.zip |
Fixed compilation bug with gcc 2.95.
Diffstat (limited to 'dev-libs/libofx')
-rw-r--r-- | dev-libs/libofx/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libofx/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libofx/files/digest-libofx-0.6.4-r1 | 1 | ||||
-rw-r--r-- | dev-libs/libofx/files/libofx-0.6.4-gcc2.patch | 11 | ||||
-rw-r--r-- | dev-libs/libofx/libofx-0.6.4-r1.ebuild | 37 |
5 files changed, 59 insertions, 3 deletions
diff --git a/dev-libs/libofx/ChangeLog b/dev-libs/libofx/ChangeLog index be6651354080..a0ef2fdb544b 100644 --- a/dev-libs/libofx/ChangeLog +++ b/dev-libs/libofx/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for dev-libs/libofx # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/ChangeLog,v 1.3 2003/06/10 21:59:09 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/ChangeLog,v 1.4 2003/08/28 13:19:56 agenkin Exp $ 10 Jun 2003; <msterret@gentoo.org> libofx-0.6.4.ebuild: DEPEND on sed >= 4 @@ -8,6 +8,11 @@ 30 Apr 2003; Alastair Tse <liquidx@gentoo.org> libofx-0.6.4.ebuild: make dtd install in a deterministic directory +*libofx-0.6.4-r1 (28 Aug 2003) + + 28 Aug 2003; Arcady Genkin <agenkin@gentoo.org> : + Fixed compilation problem with gcc-2.95. + *libofx-0.6.4 (28 Apr 2003) 28 Apr 2003; Alastair Tse <liquidx@gentoo.org> libofx-0.6.4.ebuild: diff --git a/dev-libs/libofx/Manifest b/dev-libs/libofx/Manifest index ccde6ad79f8b..b4ca1107a904 100644 --- a/dev-libs/libofx/Manifest +++ b/dev-libs/libofx/Manifest @@ -1,3 +1,5 @@ +MD5 14cb17f4041de627cdc0f85fee4c07c6 ChangeLog 644 +MD5 e62fc565e0f74ce9a1b942abae818773 libofx-0.6.4-r1.ebuild 1002 MD5 01e95323fd235e3559b8831adc8d1d34 files/digest-libofx-0.6.4 64 -MD5 d663aa554b781894e50192ea7500cc6f ChangeLog 548 -MD5 513f33cc86de74f7734a12eaf522d173 libofx-0.6.4.ebuild 862 +MD5 49ea3e257d9cc461e444c07e59396177 files/libofx-0.6.4-gcc2.patch 595 +MD5 01e95323fd235e3559b8831adc8d1d34 files/digest-libofx-0.6.4-r1 64 diff --git a/dev-libs/libofx/files/digest-libofx-0.6.4-r1 b/dev-libs/libofx/files/digest-libofx-0.6.4-r1 new file mode 100644 index 000000000000..a506ef20a4b6 --- /dev/null +++ b/dev-libs/libofx/files/digest-libofx-0.6.4-r1 @@ -0,0 +1 @@ +MD5 4f73e6fe393dedac3961e5145aa95c6c libofx-0.6.4.tar.gz 510744 diff --git a/dev-libs/libofx/files/libofx-0.6.4-gcc2.patch b/dev-libs/libofx/files/libofx-0.6.4-gcc2.patch new file mode 100644 index 000000000000..a15b853744c8 --- /dev/null +++ b/dev-libs/libofx/files/libofx-0.6.4-gcc2.patch @@ -0,0 +1,11 @@ +diff -r -u libofx-0.6.4.orig/lib/ofx_utilities.cpp libofx-0.6.4/lib/ofx_utilities.cpp +--- libofx-0.6.4.orig/lib/ofx_utilities.cpp 2003-04-12 18:05:51.000000000 -0400 ++++ libofx-0.6.4/lib/ofx_utilities.cpp 2003-08-28 09:08:07.000000000 -0400 +@@ -15,6 +15,7 @@ + * (at your option) any later version. * + * * + ***************************************************************************/ ++#include <locale.h> + #include <config.h> + #include <iostream> + #include "ParserEventGeneratorKit.h" diff --git a/dev-libs/libofx/libofx-0.6.4-r1.ebuild b/dev-libs/libofx/libofx-0.6.4-r1.ebuild new file mode 100644 index 000000000000..327ff5ce6810 --- /dev/null +++ b/dev-libs/libofx/libofx-0.6.4-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.6.4-r1.ebuild,v 1.1 2003/08/28 13:19:56 agenkin Exp $ + +DESCRIPTION="Library to support the Open Financial eXchange XML Format" +HOMEPAGE="http://libofx.sourceforge.net/" +SRC_URI="mirror://sourceforge/libofx/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=app-text/opensp-1.5 + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + + # Patch for gcc-2.95. + # See http://sourceforge.net/forum/forum.php?forum_id=276912 + patch -p0 < ${FILESDIR}/${P}-gcc2.patch || die + + # because we redefine docdir in src_install, we need to make sure the + # dtd's go to the right place, LIBOFX_DTD_DIR + cd ${S}/dtd + sed -i -e 's/$(DESTDIR)$(docdir)/$(DESTDIR)$(LIBOFX_DTD_DIR)/g' \ + Makefile.in +} +src_compile() { + econf + emake || die +} + +src_install() { + dodir /usr/share/doc/${PF} + einstall docdir=${D}/usr/share/doc/${PF} || die +} |