diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/aiksaurus |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/aiksaurus')
-rw-r--r-- | extra/aiksaurus/PKGBUILD | 28 | ||||
-rw-r--r-- | extra/aiksaurus/aiksaurus-gcc44.patch | 31 |
2 files changed, 59 insertions, 0 deletions
diff --git a/extra/aiksaurus/PKGBUILD b/extra/aiksaurus/PKGBUILD new file mode 100644 index 000000000..7990bebb4 --- /dev/null +++ b/extra/aiksaurus/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 45575 2009-07-12 17:51:06Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=aiksaurus +pkgver=1.2.1 +pkgrel=2 +pkgdesc="A cross-platform, open-source thesaurus" +url="http://aiksaurus.sourceforge.net/" +license=('GPL') +arch=('i686' 'x86_64') +options=('!libtool') +depends=('gtk2') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz + 'aiksaurus-gcc44.patch') +md5sums=('3eae03b7c49843ccc9262e52846ea6b4' + '7f94749172116b1529fc21b718ee7636') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # gcc44 build patch + patch -Np0 -i ${srcdir}/aiksaurus-gcc44.patch || return 1 + + ./configure --prefix=/usr --with-gtk + make || return 1 + make DESTDIR=${pkgdir} install +} diff --git a/extra/aiksaurus/aiksaurus-gcc44.patch b/extra/aiksaurus/aiksaurus-gcc44.patch new file mode 100644 index 000000000..7146d5307 --- /dev/null +++ b/extra/aiksaurus/aiksaurus-gcc44.patch @@ -0,0 +1,31 @@ +--- base/aiksaurus.t.cpp~ 2003-06-26 21:44:38.000000000 -0400 ++++ base/aiksaurus.t.cpp 2009-05-31 20:02:29.172988678 -0400 +@@ -22,6 +22,7 @@ + #include "Aiksaurus.h" + #include "AsciiCompare.h" + #include "config.h" ++#include <cstdlib> + #include <iostream> + #include <string> + using namespace std; + +--- ./gtk/src/Display.cpp~ 2003-05-27 19:56:54.000000000 -0400 ++++ ./gtk/src/Display.cpp 2009-06-02 18:09:36.198627551 -0400 +@@ -22,6 +22,7 @@ + #include "Meaning.h" + #include "DialogMediator.h" + #include "Exception.h" ++#include <cstring> + using namespace std; + + namespace AiksaurusGTK_impl +--- ./gtk/src/gtkAiksaur.t.cpp~ 2002-01-11 21:02:12.000000000 -0500 ++++ ./gtk/src/gtkAiksaur.t.cpp 2009-06-02 18:12:06.815277325 -0400 +@@ -21,6 +21,7 @@ + #include <AiksaurusGTK.h> + #include "config.h" + #include <gtk/gtk.h> ++#include <cstdlib> + #include <iostream> + #include <string> + using namespace std; |