summarylogtreecommitdiffstats
path: root/missing-typedefs.patch
diff options
context:
space:
mode:
authorspider-mario2020-05-27 13:25:44 +0200
committerspider-mario2020-05-27 13:25:44 +0200
commit1cdee57a0fd96e5c171e1b727fc08ed5e5171075 (patch)
tree25636ece40c552c7f65299a62f1b3941c27c2683 /missing-typedefs.patch
parentb18e3fc6af93495bbd4adca7238a8faa4b5a0e02 (diff)
downloadaur-1cdee57a0fd96e5c171e1b727fc08ed5e5171075.tar.gz
Fix linking errors
Diffstat (limited to 'missing-typedefs.patch')
-rw-r--r--missing-typedefs.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/missing-typedefs.patch b/missing-typedefs.patch
new file mode 100644
index 000000000000..efc794f2c45b
--- /dev/null
+++ b/missing-typedefs.patch
@@ -0,0 +1,57 @@
+diff a/libs/libsacd/scarletbook.h b/libs/libsacd/scarletbook.h
+--- a/libs/libsacd/scarletbook.h
++++ b/libs/libsacd/scarletbook.h
+@@ -73,7 +73,7 @@
+
+ #define MAX_PROCESSING_BLOCK_SIZE 512
+
+-enum
++typedef enum
+ {
+ FRAME_FORMAT_DST = 0
+ , FRAME_FORMAT_DSD_3_IN_14 = 2
+@@ -81,7 +81,7 @@ enum
+ }
+ frame_format_t;
+
+-enum
++typedef enum
+ {
+ CHAR_SET_UNKNOWN = 0
+ , CHAR_SET_ISO646 = 1 // ISO 646 (IRV), no escape sequences allowed
+@@ -99,7 +99,7 @@ extern const char *character_set[];
+
+ extern const char *album_genre[];
+
+-enum
++typedef enum
+ {
+ GENRE_NOT_USED = 0 // 12
+ , GENRE_NOT_DEFINED = 1 // 12
+@@ -134,7 +134,7 @@ enum
+ }
+ genre_t;
+
+-enum
++typedef enum
+ {
+ CATEGORY_NOT_USED = 0
+ , CATEGORY_GENERAL = 1
+@@ -144,7 +144,7 @@ category_t;
+
+ extern const char *album_category[];
+
+-enum
++typedef enum
+ {
+ TRACK_TYPE_TITLE = 0x01
+ , TRACK_TYPE_PERFORMER = 0x02
+@@ -469,7 +469,7 @@ typedef struct
+ }
+ ATTRIBUTE_PACKED area_tracklist_t;
+
+-enum
++typedef enum
+ {
+ DATA_TYPE_AUDIO = 2
+ , DATA_TYPE_SUPPLEMENTARY = 3