diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-08-04 23:22:23 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-08-04 23:22:23 -0500 |
commit | bc49aff4af1de8d14f040a17d01246ecfc511810 (patch) | |
tree | 451a8084220444852d90b1f04a62b23c695d1cdd /extra/alsa-tools | |
parent | bb5d0170aad441b0b43d972164aa63d54c29384d (diff) |
Add alsa-tools-1.0.27-mips.patch
Diffstat (limited to 'extra/alsa-tools')
-rw-r--r-- | extra/alsa-tools/PKGBUILD | 10 | ||||
-rw-r--r-- | extra/alsa-tools/alsa-tools-1.0.27-mips.patch | 13 |
2 files changed, 19 insertions, 4 deletions
diff --git a/extra/alsa-tools/PKGBUILD b/extra/alsa-tools/PKGBUILD index 260ec0825..dbdca4980 100644 --- a/extra/alsa-tools/PKGBUILD +++ b/extra/alsa-tools/PKGBUILD @@ -6,7 +6,7 @@ pkgname=alsa-tools pkgver=1.0.27 pkgrel=4 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://alsa-project.org/" license=('GPL') depends=('gcc-libs' 'alsa-lib') @@ -17,8 +17,10 @@ optdepends=('fltk: hdspconf, hdspmixer' 'bash: couple of tools') provides=("$pkgname-emu10k1" "$pkgname-ice1712") options=('!libtool') -source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2") -md5sums=('1ea381d00a6069a98613aa7effa4cb51') +source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2" + "alsa-tools-1.0.27-mips.patch") +md5sums=('1ea381d00a6069a98613aa7effa4cb51' + 'b34bbbe42216354c4cafae6cd504bdc5') _tools=("as10k1" "echomixer" "envy24control" "hdajackretask" "hda-verb" "hdspconf" "hdsploader" "hdspmixer" "ld10k1" "mixartloader" @@ -27,7 +29,7 @@ _tools=("as10k1" "echomixer" "envy24control" "hdajackretask" "hda-verb" prepare() { cd "$srcdir/$pkgname-$pkgver" - + patch -Np1 -i ${srcdir}/alsa-tools-1.0.27-mips.patch # qlo10k1 cannot be built; it depends on ld10k1 sed -i 's:ld10k1 qlo10k1 \\:ld10k1 \\:' Makefile diff --git a/extra/alsa-tools/alsa-tools-1.0.27-mips.patch b/extra/alsa-tools/alsa-tools-1.0.27-mips.patch new file mode 100644 index 000000000..849d94d94 --- /dev/null +++ b/extra/alsa-tools/alsa-tools-1.0.27-mips.patch @@ -0,0 +1,13 @@ +--- alsa-tools-1.0.27.orig/hda-verb/hda-verb.c 2013-04-11 06:43:07.000000000 -0500 ++++ alsa-tools-1.0.27/hda-verb/hda-verb.c 2013-08-04 22:50:09.688476561 -0500 +@@ -14,8 +14,10 @@ + #include <unistd.h> + #include <sys/ioctl.h> + #ifndef __PPC__ ++#ifndef __mips__ + #include <sys/io.h> + #endif ++#endif + #include <sys/types.h> + #include <sys/fcntl.h> + |