summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-10-16 12:20:42 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-10-16 12:20:42 -0500
commit2dffe19e17c763354df4138ac3d51f430365faa2 (patch)
treef86635feb3ae4e40eb34ff14b03d384668a275a1
parentea319c11ce5dcbe5994f166ea099b115bbffe960 (diff)
Add agave-0.4.7-mips.patch
-rw-r--r--community/agave/PKGBUILD8
-rw-r--r--community/agave/agave-0.4.7-mips.patch11
2 files changed, 16 insertions, 3 deletions
diff --git a/community/agave/PKGBUILD b/community/agave/PKGBUILD
index ba0c0622f..487ce21ee 100644
--- a/community/agave/PKGBUILD
+++ b/community/agave/PKGBUILD
@@ -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/parche.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 {