summaryrefslogtreecommitdiff
path: root/user/alsa-lib/type_compat.patch
blob: 4236d11d413e33bcf0e775e042a9d8198693a871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>