diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
commit | 265dbe5dbc14c199299496c6db8fce3f76647015 (patch) | |
tree | ab18b5617d138f6684566b619405090989d55a2c /media-sound/jack2/files/jack2-1.9.11_rc1-gcc7.patch | |
parent | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff) |
gentoo resync : 21.09.2018
Diffstat (limited to 'media-sound/jack2/files/jack2-1.9.11_rc1-gcc7.patch')
-rw-r--r-- | media-sound/jack2/files/jack2-1.9.11_rc1-gcc7.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/media-sound/jack2/files/jack2-1.9.11_rc1-gcc7.patch b/media-sound/jack2/files/jack2-1.9.11_rc1-gcc7.patch deleted file mode 100644 index dcde5fb422f8..000000000000 --- a/media-sound/jack2/files/jack2-1.9.11_rc1-gcc7.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit f7bccdca651592cc4082b28fd4a01ed6ef8ab655 -Author: Kjetil Matheussen <k.s.matheussen@notam02.no> -Date: Sat Jul 15 13:21:59 2017 +0200 - - Tests: Fix compilation with gcc7 - -diff --git a/tests/test.cpp b/tests/test.cpp -index 8a8a8117..d2ef9a05 100644 ---- a/tests/test.cpp -+++ b/tests/test.cpp -@@ -479,7 +479,7 @@ int process4(jack_nframes_t nframes, void *arg) - jack_nframes_t delta_time = cur_time - last_time; - - Log("calling process4 callback : jack_frame_time = %ld delta_time = %ld\n", cur_time, delta_time); -- if (delta_time > 0 && (jack_nframes_t)abs(delta_time - cur_buffer_size) > tolerance) { -+ if (delta_time > 0 && abs((int64_t)delta_time - (int64_t)cur_buffer_size) > (int64_t)tolerance) { - printf("!!! ERROR !!! jack_frame_time seems to return incorrect values cur_buffer_size = %d, delta_time = %d tolerance %d\n", cur_buffer_size, delta_time, tolerance); - } - |