From ccf84bcd604130256d1377cd58f0a634ae6ee20f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Dec 2017 04:06:07 +0000 Subject: gentoo resync : 28.12.2017 --- media-radio/svxlink/files/svxlink-15.11-gcc72.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 media-radio/svxlink/files/svxlink-15.11-gcc72.patch (limited to 'media-radio/svxlink/files') diff --git a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch new file mode 100644 index 000000000000..a55894c62f34 --- /dev/null +++ b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch @@ -0,0 +1,12 @@ +# backported fix for newer compilers +--- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig 2017-12-27 16:32:27.185098621 +0000 ++++ src/async/audio/AsyncAudioDeviceAlsa.cpp 2017-12-27 16:33:33.468067578 +0000 +@@ -548,7 +548,7 @@ + return false; + } + +- if (::abs(real_rate - sample_rate) > 100) ++ if (::abs(static_cast(real_rate) - sample_rate) > 100) + { + cerr << "*** ERROR: The sample rate could not be set to " + << sample_rate << "Hz for ALSA device \"" << dev_name << "\". " -- cgit v1.2.3