svn commit: r425789 - head/comms/fldigi
John Marino
freebsd.contact at marino.st
Wed Nov 9 13:41:32 UTC 2016
On 11/9/2016 04:51, Jan Beich wrote:
> Author: jbeich
> Date: Wed Nov 9 10:51:35 2016
> New Revision: 425789
> URL: https://svnweb.freebsd.org/changeset/ports/425789
>
> Log:
> comms/fldigi: mark BROKEN after r425442
>
> src/main.cxx:1492:2: error: no matching function for call to 'memset'
> memset(src.data_in, 0, src.input_frames * sizeof(float));
> ^~~~~~
> /usr/include/string.h:67:7: note: candidate function not viable: no known conversion from 'const float *' to 'void *' for 1st argument; take the address of the argument with &
> void *memset(void *, int, size_t);
> ^
>
> Reported by: pkg-fallout
> Pointy hat to: @bapt (and upstream)
>
> Modified:
> head/comms/fldigi/Makefile (contents, props changed)
>
> Modified: head/comms/fldigi/Makefile
> ==============================================================================
> --- head/comms/fldigi/Makefile Wed Nov 9 10:51:23 2016 (r425788)
> +++ head/comms/fldigi/Makefile Wed Nov 9 10:51:35 2016 (r425789)
> @@ -18,6 +18,8 @@ LIB_DEPENDS= libsamplerate.so:audio/libs
> libboost_system.so:devel/boost-libs\
> libfltk.so:x11-toolkits/fltk
>
> +BROKEN= Fails to build against libsamplerate-0.1.9
> +
> USE_CXXSTD= gnu++0x
> GNU_CONFIGURE= yes
> USES= compiler:c++11-lib execinfo gmake perl5 pkgconfig shebangfix
>
zrj was able to fix this in dports with a -fpermissive flag:
https://github.com/DragonFlyBSD/DeltaPorts/commit/027deb64600a338f1e0c080933f4e5b34c5533f4
"New audio/libsamplerate has const float in SRC_DATA stuct, yet here
it is used with non-c++ memset(that is C)."
with that change, it builds for us.
John
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the svn-ports-all
mailing list