summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2004-08-15 14:23:17 +0000
committerDavid Holm <dholm@gentoo.org>2004-08-15 14:23:17 +0000
commitc877091c04544868370d19f7495460c71bd03174 (patch)
treef5dd35ea19f46501cd96d9b7d7590a5909218953 /dev-ada/adadoc
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-c877091c04544868370d19f7495460c71bd03174.tar.gz
gentoo-2-c877091c04544868370d19f7495460c71bd03174.tar.bz2
gentoo-2-c877091c04544868370d19f7495460c71bd03174.zip
Compilation fix from Sandro Magi
Diffstat (limited to 'dev-ada/adadoc')
-rw-r--r--dev-ada/adadoc/ChangeLog6
-rw-r--r--dev-ada/adadoc/adadoc-2.01.ebuild6
-rw-r--r--dev-ada/adadoc/files/adadoc-2.01-xmlada.patch12
3 files changed, 21 insertions, 3 deletions
diff --git a/dev-ada/adadoc/ChangeLog b/dev-ada/adadoc/ChangeLog
index 8df264f91c8e..1b7eb9a73262 100644
--- a/dev-ada/adadoc/ChangeLog
+++ b/dev-ada/adadoc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ada/adadoc
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/adadoc/ChangeLog,v 1.5 2004/06/24 21:45:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adadoc/ChangeLog,v 1.6 2004/08/15 14:23:17 dholm Exp $
+
+ 15 Aug 2004; David Holm <dholm@gentoo.org> +files/adadoc-2.01-xmlada.patch,
+ adadoc-2.01.ebuild:
+ Added fix from Sandro Magi <smagi at naasking dot homeip dot net>.
06 Oct 2003; David Holm <dholm@gentoo.org> adadoc-2.01.ebuild:
Moved to stable on x86.
diff --git a/dev-ada/adadoc/adadoc-2.01.ebuild b/dev-ada/adadoc/adadoc-2.01.ebuild
index f0fa997f5e55..1a5f689e7050 100644
--- a/dev-ada/adadoc/adadoc-2.01.ebuild
+++ b/dev-ada/adadoc/adadoc-2.01.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/adadoc/adadoc-2.01.ebuild,v 1.4 2004/06/24 21:45:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/adadoc/adadoc-2.01.ebuild,v 1.5 2004/08/15 14:23:17 dholm Exp $
-inherit gnat
+inherit eutils gnat
DESCRIPTION="A tool for Ada95 to create documentation from specification packages."
@@ -27,6 +27,8 @@ S=${WORKDIR}/dev
src_unpack() {
unpack ${PN}-v${PV}.src.tar.bz2
+ cd ${S}
+ epatch ${FILESDIR}/${P}-xmlada.patch || die "epatch failed"
}
src_compile() {
diff --git a/dev-ada/adadoc/files/adadoc-2.01-xmlada.patch b/dev-ada/adadoc/files/adadoc-2.01-xmlada.patch
new file mode 100644
index 000000000000..d02c7563aa51
--- /dev/null
+++ b/dev-ada/adadoc/files/adadoc-2.01-xmlada.patch
@@ -0,0 +1,12 @@
+diff --recursive -u dev/modules/module_interface.adb dev2/modules/module_interface.adb
+--- dev/modules/module_interface.adb 2003-12-23 14:24:07.000000000 -0500
++++ dev2/modules/module_interface.adb 2003-12-23 14:25:18.000000000 -0500
+@@ -64,7 +64,7 @@
+ Char : Unicode.Unicode_Char;
+ begin
+ for I in String_Tmp'Range loop
+- Char := Read(Item, J);
++ Read(Item, J, Char);
+ String_Tmp(I) := Character'Val(Char);
+ J := J + Width(Char);
+ end loop;