summaryrefslogtreecommitdiff
path: root/user/alsa-lib/type_compat.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-03-17 01:38:28 -0500
committerMax Rees <maxcrees@me.com>2020-03-17 01:57:23 -0500
commitd2c42701a5f3df158206221709b2bfdd4715fcd4 (patch)
treeff0efd334a33404f278701b486e3abec0b2b3521 /user/alsa-lib/type_compat.patch
parentbd3f8f4faafb5875993337e39ef90d8cf6f5f5fb (diff)
downloadpackages-d2c42701a5f3df158206221709b2bfdd4715fcd4.tar.gz
packages-d2c42701a5f3df158206221709b2bfdd4715fcd4.tar.bz2
packages-d2c42701a5f3df158206221709b2bfdd4715fcd4.tar.xz
packages-d2c42701a5f3df158206221709b2bfdd4715fcd4.zip
user/alsa-lib: bump to 1.2.2
Diffstat (limited to 'user/alsa-lib/type_compat.patch')
-rw-r--r--user/alsa-lib/type_compat.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/alsa-lib/type_compat.patch b/user/alsa-lib/type_compat.patch
new file mode 100644
index 000000000..4236d11d4
--- /dev/null
+++ b/user/alsa-lib/type_compat.patch
@@ -0,0 +1,23 @@
+Since we force the use of the uapi headers from linux-headers instead of
+using the vendored copy, type_compat.h never gets put in the place it
+should be for it to be seen in sound/.
+
+However, the only reason it was included here anyway was to replace a
+definition that was never used:
+
+https://github.com/alsa-project/alsa-lib/commit/ae564665ec261cf104de499b1cdda3564070fc65#diff-5e0b4d8ecf374a31036ffc7b224d5e7fL21
+
+ -#define __packed __attribute__((__packed__))
+ -
+ +#include <sound/type_compat.h>
+
+--- alsa-lib-1.2.2/src/topology/tplg_local.h 2020-02-19 03:35:39.000000000 -0600
++++ alsa-lib-1.2.2/src/topology/tplg_local.h 2020-03-17 01:26:25.159548858 -0500
+@@ -18,7 +18,6 @@
+ #include "list.h"
+ #include "topology.h"
+
+-#include <sound/type_compat.h>
+ #include <sound/asound.h>
+ #include <sound/asoc.h>
+ #include <sound/tlv.h>