diff options
Diffstat (limited to 'extra/inkscape')
-rw-r--r-- | extra/inkscape/PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD index b7266212d..745df42ad 100644 --- a/extra/inkscape/PKGBUILD +++ b/extra/inkscape/PKGBUILD @@ -8,7 +8,7 @@ pkgver=0.48.2 pkgrel=6 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' @@ -28,6 +28,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 |