summaryrefslogtreecommitdiff
path: root/community/agave
diff options
context:
space:
mode:
Diffstat (limited to 'community/agave')
-rw-r--r--community/agave/PKGBUILD10
-rw-r--r--community/agave/agave-0.4.7-mips.patch11
2 files changed, 17 insertions, 4 deletions
diff --git a/community/agave/PKGBUILD b/community/agave/PKGBUILD
index 458e721c6..1c89f5c9b 100644
--- a/community/agave/PKGBUILD
+++ b/community/agave/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=agave
pkgver=0.4.7
pkgrel=4
pkgdesc="Colorscheme designer tool for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://home.gna.org/colorscheme/"
license=('GPL')
depends=('libglademm' 'gconfmm' 'hicolor-icon-theme' 'xdg-utils')
@@ -17,18 +17,20 @@ install=$pkgname.install
source=("http://download.gna.org/colorscheme/releases/$pkgname-$pkgver.tar.bz2"
agave-0.4.7-mdv-fix-str-fmt.patch
schemebox.patch
- drop-libgnome.patch)
+ drop-libgnome.patch
+ agave-0.4.7-mips.patch)
md5sums=('93097881f28dcae1eca2800a763f77c3'
'd96ddfe751d8fd4d13a443b94fafb0b6'
'c41adfd52ecbf837f4338e67693640fc'
- '7419d23329f847dcde12baa467b52135')
+ '7419d23329f847dcde12baa467b52135'
+ 'a08f637b9aa3ba08275aba94f72b1684')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i "$srcdir/agave-0.4.7-mdv-fix-str-fmt.patch" # Fedora patch
patch -Np1 -i "$srcdir/schemebox.patch" # gcs-schemebox patch
patch -Np1 -i "$srcdir/drop-libgnome.patch"
-
+ patch -Np1 -i "$srcdir/agave-0.4.7-mips.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-scrollkeeper --disable-gnome --disable-schemas-install \
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
diff --git a/community/agave/agave-0.4.7-mips.patch b/community/agave/agave-0.4.7-mips.patch
new file mode 100644
index 000000000..5b24c2cbc
--- /dev/null
+++ b/community/agave/agave-0.4.7-mips.patch
@@ -0,0 +1,11 @@
+--- agave.orig/src/core/compat-round.cc 2006-09-30 16:55:58.000000000 -0500
++++ agave/src/core/compat-round.cc 2012-10-16 11:49:05.823741281 -0500
+@@ -133,7 +133,7 @@
+ } bits;
+ };
+ #define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff)
+-#elif __ia64__
++#elif __mips__
+ union compat_IEEEl2bits {
+ long double e;
+ struct {