From 5aa8300e18ac1c8584793a8ec43a975eb3821541 Mon Sep 17 00:00:00 2001 From: Nicolas Reynolds Date: Wed, 8 Feb 2012 09:11:17 -0300 Subject: Fixes * libvpx: add mips64el.patch * imagemagick: upstream removes older versions --- extra/libvpx/PKGBUILD | 2 +- extra/libvpx/mips64el.patch | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 extra/libvpx/mips64el.patch (limited to 'extra/libvpx') diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD index 40d98e275..4c1dd8889 100644 --- a/extra/libvpx/PKGBUILD +++ b/extra/libvpx/PKGBUILD @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('yasm') source=(http://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2 mips64el.patch) -sha1sums=('2919e11074fef72fc61ef1a75160050ffaad6074') +sha1sums=('2919e11074fef72fc61ef1a75160050ffaad6074' '4fd775826a4d737102f831c451235a58947f2cde') build() { diff --git a/extra/libvpx/mips64el.patch b/extra/libvpx/mips64el.patch new file mode 100644 index 000000000..a0e84d5c2 --- /dev/null +++ b/extra/libvpx/mips64el.patch @@ -0,0 +1,38 @@ +diff -uNar libvpx-v0.9.6.orig//build/make/configure.sh libvpx-v0.9.6/build/make/configure.sh +--- libvpx-v0.9.6.orig//build/make/configure.sh 2011-03-04 17:40:37.000000000 -0300 ++++ libvpx-v0.9.6/build/make/configure.sh 2011-03-27 12:31:49.263260789 -0300 +@@ -805,6 +805,15 @@ + + esac + ;; ++ mips64*) ++ CROSS="" ++ link_with_cc=gcc ++ setup_gnu_toolchain ++ tune_cflags="-mtune=" ++ check_add_cflags -march=${tgt_isa} ++ check_add_asflags -march=${tgt_isa} ++ check_add_asflags -KPIC ++ ;; + mips*) + CROSS=${CROSS:-mipsel-linux-uclibc-} + link_with_cc=gcc +diff -uNar libvpx-v0.9.6.orig//configure libvpx-v0.9.6/configure +--- libvpx-v0.9.6.orig//configure 2011-03-04 17:40:37.000000000 -0300 ++++ libvpx-v0.9.6/configure 2011-03-27 12:31:05.571213054 -0300 +@@ -94,6 +94,7 @@ + all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8 + all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8 + all_platforms="${all_platforms} mips32-linux-gcc" ++all_platforms="${all_platforms} mips64el-linux-gcc" + all_platforms="${all_platforms} ppc32-darwin8-gcc" + all_platforms="${all_platforms} ppc32-darwin9-gcc" + all_platforms="${all_platforms} ppc32-linux-gcc" +@@ -194,6 +195,7 @@ + iwmmxt2 + + mips32 ++ mips64 + + mmx + sse -- cgit v1.2.3-54-g00ecf