summaryrefslogtreecommitdiff
path: root/pkg/sndio/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-02-26 20:03:38 -0800
committerMichael Forney <mforney@mforney.org>2021-03-02 16:20:18 -0800
commitd95cf9fbc10110f1512b183ee22183a420645a72 (patch)
tree4c9b6c97eb53d9e1543ec9fd3abe39051e7f31f9 /pkg/sndio/patch
parentd640328f5aac575a4199e88eb11eac0cd5261f4c (diff)
sndio: Update to latest git
This brings a higher quality resampler.
Diffstat (limited to 'pkg/sndio/patch')
-rw-r--r--pkg/sndio/patch/0002-aucat-Use-unsigned-char-for-wav_guid-to-prevent-over.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sndio/patch/0002-aucat-Use-unsigned-char-for-wav_guid-to-prevent-over.patch b/pkg/sndio/patch/0002-aucat-Use-unsigned-char-for-wav_guid-to-prevent-over.patch
index 12e8149d..3a61df80 100644
--- a/pkg/sndio/patch/0002-aucat-Use-unsigned-char-for-wav_guid-to-prevent-over.patch
+++ b/pkg/sndio/patch/0002-aucat-Use-unsigned-char-for-wav_guid-to-prevent-over.patch
@@ -1,4 +1,4 @@
-From 3ae08254ba1f5555e0bfcf71be12d67a3ea2a1b5 Mon Sep 17 00:00:00 2001
+From 7c55a1db6eb0334e3e5902cb52272abd668019df Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Thu, 5 Nov 2020 00:58:34 -0800
Subject: [PATCH] aucat: Use unsigned char for wav_guid to prevent overflow
@@ -9,18 +9,18 @@ Subject: [PATCH] aucat: Use unsigned char for wav_guid to prevent overflow
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aucat/afile.c b/aucat/afile.c
-index 3e400ce..f1188b5 100644
+index fce69f3..1a37463 100644
--- a/aucat/afile.c
+++ b/aucat/afile.c
-@@ -135,7 +135,7 @@ char wav_id_riff[4] = {'R', 'I', 'F', 'F'};
- char wav_id_wave[4] = {'W', 'A', 'V', 'E'};
- char wav_id_data[4] = {'d', 'a', 't', 'a'};
- char wav_id_fmt[4] = {'f', 'm', 't', ' '};
--char wav_guid[14] = {
-+unsigned char wav_guid[14] = {
+@@ -135,7 +135,7 @@ const char wav_id_riff[4] = {'R', 'I', 'F', 'F'};
+ const char wav_id_wave[4] = {'W', 'A', 'V', 'E'};
+ const char wav_id_data[4] = {'d', 'a', 't', 'a'};
+ const char wav_id_fmt[4] = {'f', 'm', 't', ' '};
+-const char wav_guid[14] = {
++const unsigned char wav_guid[14] = {
0x00, 0x00, 0x00, 0x00,
0x10, 0x00, 0x80, 0x00,
0x00, 0xAA, 0x00, 0x38,
--
-2.29.2
+2.30.0