summaryrefslogtreecommitdiff
path: root/extra/pixman/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pixman/PKGBUILD')
-rw-r--r--extra/pixman/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/pixman/PKGBUILD b/extra/pixman/PKGBUILD
index f02a11779..57414ce5c 100644
--- a/extra/pixman/PKGBUILD
+++ b/extra/pixman/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pixman
pkgver=0.22.2
pkgrel=1
pkgdesc="Pixman library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org"
license=('custom')
depends=('glibc')
@@ -16,6 +16,10 @@ sha1sums=('ad2b828ce4280472f5933d8bb5f0f4d583aed7f3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ [ "$CARCH" = "mips64el" ] && {
+ patch -Np1 -i $srcdir/pixman-loongson2f.patch
+ autoreconf -i
+ }
./configure --prefix=/usr --disable-static
make
}