summaryrefslogtreecommitdiff
path: root/core/curl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/curl/PKGBUILD')
-rw-r--r--core/curl/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/curl/PKGBUILD b/core/curl/PKGBUILD
index 51d860f43..87f4208bd 100644
--- a/core/curl/PKGBUILD
+++ b/core/curl/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=curl
pkgver=7.29.0
pkgrel=2
pkgdesc="An URL retrieval utility and library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://curl.haxx.se"
license=('MIT')
depends=('ca-certificates' 'libssh2' 'openssl' 'zlib')
@@ -34,6 +34,9 @@ esac
build() {
cd "$pkgname-$pkgver"
+ # We have the same CFLAGS as Arch, this should be fixed upstream.
+ sed -i 's/xc_bad_var_cflags=yes/xc_bad_var_cflags=no/' configure
+
patch -Np1 <"$srcdir/0001-Fix-NULL-pointer-reference-when-closing-an-unused-mu.patch"
./configure \