diff options
author | davidovski <david@davidovski.xyz> | 2022-03-10 11:59:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-10 11:59:16 +0000 |
commit | bb499959d88da1b3937c23b5405089c907188a81 (patch) | |
tree | d9ddba6d0c8f1152c3919067a52250c6bf0759f9 /extra/alsa-firmware | |
parent | 3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff) |
added and patched broken packages
Diffstat (limited to 'extra/alsa-firmware')
-rw-r--r-- | extra/alsa-firmware/use-uint32_t-instead-u_int32_t.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/extra/alsa-firmware/use-uint32_t-instead-u_int32_t.patch b/extra/alsa-firmware/use-uint32_t-instead-u_int32_t.patch new file mode 100644 index 0000000..70112fd --- /dev/null +++ b/extra/alsa-firmware/use-uint32_t-instead-u_int32_t.patch @@ -0,0 +1,52 @@ +diff -rNu a/hdsploader/digiface_firmware.dat b/hdsploader/digiface_firmware.dat +--- a/hdsploader/digiface_firmware.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/digiface_firmware.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t digiface_firmware[24413] = { ++static uint32_t digiface_firmware[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/digiface_firmware_rev11.dat b/hdsploader/digiface_firmware_rev11.dat +--- a/hdsploader/digiface_firmware_rev11.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/digiface_firmware_rev11.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t digiface_firmware_rev11[24413] = { ++static uint32_t digiface_firmware_rev11[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/multiface_firmware.dat b/hdsploader/multiface_firmware.dat +--- a/hdsploader/multiface_firmware.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/multiface_firmware.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t multiface_firmware[24413] = { ++static uint32_t multiface_firmware[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/multiface_firmware_rev11.dat b/hdsploader/multiface_firmware_rev11.dat +--- a/hdsploader/multiface_firmware_rev11.dat 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/multiface_firmware_rev11.dat 2022-03-09 18:13:56.491133428 +0000 +@@ -1,5 +1,5 @@ + /* stored in little-endian */ +-static u_int32_t multiface_firmware_rev11[24413] = { ++static uint32_t multiface_firmware_rev11[24413] = { + 0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000, + 0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000, + 0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a, +diff -rNu a/hdsploader/tobin.c b/hdsploader/tobin.c +--- a/hdsploader/tobin.c 2020-10-20 12:28:42.000000000 +0100 ++++ b/hdsploader/tobin.c 2022-03-09 18:13:56.491133428 +0000 +@@ -8,7 +8,7 @@ + #include "multiface_firmware.dat" + #include "multiface_firmware_rev11.dat" + +-int write_bin_file(u_int32_t *array, const char *filename) ++int write_bin_file(uint32_t *array, const char *filename) + { + FILE *out; + |