summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudokamikaze2017-01-04 06:13:46 +0200
committerSudokamikaze2017-01-04 06:13:46 +0200
commit347d7f3cf4bf2796006acd9d14fd5a51961e86aa (patch)
tree0546c4bfb6a19cefac22d963cdbfaf2c901ed515
parentd9527477f661ab5b8597ebc796ab3c5f4c5300d0 (diff)
downloadaur-347d7f3cf4bf2796006acd9d14fd5a51961e86aa.tar.gz
Finaly fixed sound for x86
-rw-r--r--PKGBUILD7
-rw-r--r--ladspa_multilib.patch28
2 files changed, 33 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bec41f55e63..4ed56703f17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,8 @@ source=("https://launchpad.net/ubuntu/+archive/primary/+files/alsaequal_${pkgver
'0001-fix-lib32-makefile.patch'
'0002-fix-lib32-makefile.patch'
'lib32-alsaequal_caps_9.x.patch'
- 'alsaequal-asneeded.patch')
+ 'alsaequal-asneeded.patch'
+ 'ladspa_multilib.patch')
sha256sums=('916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0'
'c1a02bfed6be6385e8ab4ebe7c9c3844e9c0937fbafe0f8d948842c2b7c9f7f0'
@@ -26,7 +27,8 @@ sha256sums=('916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0'
'd8b2f37f39a29de73feed8aedfb917fb621338dfeb8096ed0f01faf5e873c0b4'
'53a067babe50333138c39549db937aa0746aad39f849f70a5196fa05d2d18867'
'd8d12c72176e1f7aba9443007f72a7ab7bb8f8d677757db24630dc593eaf978c'
- '24718bedfa184b9a59127020f09105cc831b5f188be4b05f21b530bf13155a52')
+ '24718bedfa184b9a59127020f09105cc831b5f188be4b05f21b530bf13155a52'
+ '3c420dabd2aac2e80c04de10686c4bd50c2ffdd46f7b81c030f27ca9be53ada0')
prepare() {
@@ -37,6 +39,7 @@ prepare() {
patch -Np1 -i ../0002-fix-lib32-makefile.patch
patch -Np0 -i ../lib32-alsaequal_caps_9.x.patch
patch -Np0 -i ../alsaequal-asneeded.patch
+ patch -Np1 -i ../ladspa_multilib.patch
make clean
}
diff --git a/ladspa_multilib.patch b/ladspa_multilib.patch
new file mode 100644
index 00000000000..94729ae5f7a
--- /dev/null
+++ b/ladspa_multilib.patch
@@ -0,0 +1,28 @@
+From 27c6023601508e51e1382e4ff3fec7577a73c506 Mon Sep 17 00:00:00 2001
+From: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
+Date: Mon, 31 Aug 2015 14:39:31 +0100
+Subject: [PATCH] make .alsaequal.bin compatible in multilib install
+
+---
+ ladspa_utils.h | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/ladspa_utils.h b/ladspa_utils.h
+index 70ca2cc..40d7a48 100644
+--- a/ladspa_utils.h
++++ b/ladspa_utils.h
+@@ -46,10 +46,10 @@ typedef struct LADSPA_Control_Data_ {
+ int type;
+ } LADSPA_Control_Data;
+ typedef struct LADSPA_Control_ {
+- unsigned long length;
+- unsigned long id;
+- unsigned long channels;
+- unsigned long num_controls;
++ unsigned long long length;
++ unsigned long long id;
++ unsigned long long channels;
++ unsigned long long num_controls;
+ int input_index;
+ int output_index;
+ LADSPA_Control_Data control[];