summaryrefslogtreecommitdiff
path: root/extra/inkscape
diff options
context:
space:
mode:
Diffstat (limited to 'extra/inkscape')
-rw-r--r--extra/inkscape/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD
index 079ca3009..9aeda8fef 100644
--- a/extra/inkscape/PKGBUILD
+++ b/extra/inkscape/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.48.2
pkgrel=5
pkgdesc='Vector graphics editor using the SVG file format'
url='http://inkscape.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
makedepends=('boost' 'pkg-config' 'intltool')
depends=('gc' 'gtkmm' 'poppler-glib' 'libxslt' 'gsl' 'popt' 'python2'
@@ -26,6 +26,11 @@ sha1sums=('422a4bacd4dc42adafa203244bc9816783cba4d3')
install=install
build() {
+ # Workaround madd.d making a SIGILL on a NaN.
+ [ "$CARCH" == "mips64el" ] && {
+ CFLAGS=${CFLAGS/-march=loongson2f/-march=mips3 -mtune=loongson2f}
+ CXXFLAGS=${CXXFLAGS/-march=loongson2f/-march=mips3 -mtune=loongson2f}
+ }
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|/usr/bin/python\>|/usr/bin/python2|g' cxxtest/*.py