FreeBSD Bugzilla – Attachment 170105 Details for
Bug 209371
comms/svxlink: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix type for abs() call in comms/svxlink
comms__svxlink-fix-abs-1.diff (text/plain), 1.14 KB, created by
Dimitry Andric
on 2016-05-07 22:58:14 UTC
(
hide
)
Description:
Fix type for abs() call in comms/svxlink
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-05-07 22:58:14 UTC
Size:
1.14 KB
patch
obsolete
>Index: comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp >=================================================================== >--- comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp (nonexistent) >+++ comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig 2015-11-22 16:03:59 UTC >++++ src/async/audio/AsyncAudioDeviceAlsa.cpp >+@@ -548,7 +548,7 @@ bool AudioDeviceAlsa::initParams(snd_pcm >+ return false; >+ } >+ >+- if (::abs(real_rate - sample_rate) > 100) >++ if (::abs((int)real_rate - sample_rate) > 100) >+ { >+ cerr << "*** ERROR: The sample rate could not be set to " >+ << sample_rate << "Hz for ALSA device \"" << dev_name << "\". " > >Property changes on: comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209371
: 170105