Date: Fri, 06 Jan 2017 01:51:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215815] [PATCH] multimedia/plexhometheater: un-BREAK Message-ID: <bug-215815-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215815 Bug ID: 215815 Summary: [PATCH] multimedia/plexhometheater: un-BREAK Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: woodsb02@freebsd.org Reporter: kalten@gmx.at Keywords: patch Flags: maintainer-feedback?(woodsb02@freebsd.org) Assignee: woodsb02@freebsd.org Created attachment 178567 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178567&action= =3Dedit unbreak by const_cast Currently this port is marked broken with the description: =E2=80=9CFails to build against libsamplerate-0.1.9=E2=80=9D. When I deleted the =E2=80=9CBROKEN=3D=E2=80=9D line, the following Error ca= me up: > /wrkdirs/usr/ports/multimedia/plexhometheater/work/plex-home-theater-publ= ic-1.4.1.469-47a90f01/xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp:77:1= 2: error: cannot initialize a variable of type 'float *' with an lvalue of = type 'const float *' > float* outputptr =3D m_converterdata.data_in; > ^ ~~~~~~~~~~~~~~~~~~~~~~~ I do not understand the BROKEN-message compared to the compiler-error. I did cast to float*=E2=80=94analogous to other code there, although using const_cast=E2=80=94as this seems what is intended (see attachment) and now = it does compile and seems to work. The original authors should be told about it, I presume. Am I missing something? Regards, Kalten --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215815-13>