aboutsummaryrefslogtreecommitdiff
path: root/ports/libsoundio/fix_example.patch
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/libsoundio/fix_example.patch
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/libsoundio/fix_example.patch')
-rw-r--r--ports/libsoundio/fix_example.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/ports/libsoundio/fix_example.patch b/ports/libsoundio/fix_example.patch
deleted file mode 100644
index 39bbb9b02..000000000
--- a/ports/libsoundio/fix_example.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/sio_microphone.c b/sio_microphone.c
-index 0fa8cca..5c89656 100644
---- a/sio_microphone.c
-+++ b/sio_microphone.c
-@@ -45,10 +45,13 @@ static int prioritized_sample_rates[] = {
- 0,
- };
-
--
-+#ifdef _MSC_VER
-+__declspec (noreturn)
-+#else
- __attribute__ ((cold))
- __attribute__ ((noreturn))
- __attribute__ ((format (printf, 1, 2)))
-+#endif
- static void panic(const char *format, ...) {
- va_list ap;
- va_start(ap, format);
-diff --git a/sio_record.c b/sio_record.c
-index 61d584d..c33b05e 100644
---- a/sio_record.c
-+++ b/sio_record.c
-@@ -12,7 +12,12 @@
- #include <string.h>
- #include <math.h>
- #include <errno.h>
-+#ifdef _WIN32
-+#include <windows.h>
-+#define sleep(n) Sleep(n * 1000)
-+#else
- #include <unistd.h>
-+#endif
-
- struct RecordContext {
- struct SoundIoRingBuffer *ring_buffer;