summaryrefslogtreecommitdiff
path: root/extra/alsa-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'extra/alsa-plugins')
-rw-r--r--extra/alsa-plugins/PKGBUILD2
-rw-r--r--extra/alsa-plugins/gcc-4.7.patch13
2 files changed, 14 insertions, 1 deletions
diff --git a/extra/alsa-plugins/PKGBUILD b/extra/alsa-plugins/PKGBUILD
index b7bcee9a0..ae5b4f4e8 100644
--- a/extra/alsa-plugins/PKGBUILD
+++ b/extra/alsa-plugins/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=alsa-plugins
pkgver=1.0.26
pkgrel=1
pkgdesc="Extra alsa plugins"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.alsa-project.org"
license=(GPL)
depends=(alsa-lib)
diff --git a/extra/alsa-plugins/gcc-4.7.patch b/extra/alsa-plugins/gcc-4.7.patch
new file mode 100644
index 000000000..1518b2afb
--- /dev/null
+++ b/extra/alsa-plugins/gcc-4.7.patch
@@ -0,0 +1,13 @@
+diff -ru alsa-plugins-1.0.25.orig/usb_stream/pcm_usb_stream.c alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c
+--- alsa-plugins-1.0.25.orig/usb_stream/pcm_usb_stream.c 2012-08-05 11:24:22.652219959 +0200
++++ alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c 2012-08-05 11:25:08.599688184 +0200
+@@ -18,8 +18,8 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <byteswap.h>
+ #define _GNU_SOURCE
++#include <byteswap.h>
+ #include <sys/mman.h>
+ #include <sys/shm.h>
+ #include <sys/ioctl.h>