summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-03-29 01:45:23 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-03-29 01:45:23 +0000
commit9065877e5a9509f240ed107ed429c9b468ddd6ff (patch)
tree4e01c98dd44ee2548c3c0660be8ad8f9f4cf57c1 /app-text/aiksaurus
parentPull in app-emulation/emul-linux-x86-baselibs for USE=ncurses on amd64 #128249. (diff)
downloadgentoo-2-9065877e5a9509f240ed107ed429c9b468ddd6ff.tar.gz
gentoo-2-9065877e5a9509f240ed107ed429c9b468ddd6ff.tar.bz2
gentoo-2-9065877e5a9509f240ed107ed429c9b468ddd6ff.zip
Added a patch for gcc 4.3 compatibility as kindly provided by truedfx on bug 214248.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/aiksaurus')
-rw-r--r--app-text/aiksaurus/ChangeLog9
-rw-r--r--app-text/aiksaurus/aiksaurus-1.2.1.ebuild13
-rw-r--r--app-text/aiksaurus/files/aiksaurus-1.2.1-gcc43.patch30
3 files changed, 45 insertions, 7 deletions
diff --git a/app-text/aiksaurus/ChangeLog b/app-text/aiksaurus/ChangeLog
index 29233a652ff4..bbe1467bc1b5 100644
--- a/app-text/aiksaurus/ChangeLog
+++ b/app-text/aiksaurus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/aiksaurus
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/aiksaurus/ChangeLog,v 1.33 2007/12/25 14:46:08 phreak Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/aiksaurus/ChangeLog,v 1.34 2008/03/29 01:45:22 philantrop Exp $
+
+ 29 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/aiksaurus-1.2.1-gcc43.patch, aiksaurus-1.2.1.ebuild:
+ Added a patch for gcc 4.3 compatibility as kindly provided by truedfx on
+ bug 214248.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing seemant from metadata.xml as per #202469.
diff --git a/app-text/aiksaurus/aiksaurus-1.2.1.ebuild b/app-text/aiksaurus/aiksaurus-1.2.1.ebuild
index 46d9b255a408..5a774552ac84 100644
--- a/app-text/aiksaurus/aiksaurus-1.2.1.ebuild
+++ b/app-text/aiksaurus/aiksaurus-1.2.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/aiksaurus/aiksaurus-1.2.1.ebuild,v 1.12 2006/08/21 17:43:11 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/aiksaurus/aiksaurus-1.2.1.ebuild,v 1.13 2008/03/29 01:45:22 philantrop Exp $
inherit flag-o-matic eutils
@@ -21,11 +21,14 @@ DEPEND="${RDEPEND}
src_compile() {
filter-flags -fno-exceptions
- econf `use_with gtk` || die "configure failed"
+ # Fixes bug 214248.
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
+ econf $(use_with gtk) || die "configure failed"
emake || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS README* ChangeLog
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README* ChangeLog || die "Installing docs failed."
}
diff --git a/app-text/aiksaurus/files/aiksaurus-1.2.1-gcc43.patch b/app-text/aiksaurus/files/aiksaurus-1.2.1-gcc43.patch
new file mode 100644
index 000000000000..a6d570af569d
--- /dev/null
+++ b/app-text/aiksaurus/files/aiksaurus-1.2.1-gcc43.patch
@@ -0,0 +1,30 @@
+--- aiksaurus-1.2.1/base/aiksaurus.t.cpp
++++ aiksaurus-1.2.1/base/aiksaurus.t.cpp
+@@ -24,6 +24,7 @@
+ #include "config.h"
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+ using namespace std;
+ using AiksaurusImpl::AsciiCompare;
+
+--- aiksaurus-1.2.1/gtk/src/Display.cpp
++++ aiksaurus-1.2.1/gtk/src/Display.cpp
+@@ -22,6 +22,7 @@
+ #include "Meaning.h"
+ #include "DialogMediator.h"
+ #include "Exception.h"
++#include <cstring>
+ using namespace std;
+
+ namespace AiksaurusGTK_impl
+--- aiksaurus-1.2.1/gtk/src/gtkAiksaur.t.cpp
++++ aiksaurus-1.2.1/gtk/src/gtkAiksaur.t.cpp
+@@ -23,6 +23,7 @@
+ #include <gtk/gtk.h>
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+ using namespace std;
+
+ int main(int argc, char** argv)