Date: Sat, 15 Oct 2016 22:52:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213517] audio/raop_play: Fix build with libc++ 3.9.0 Message-ID: <bug-213517-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213517 Bug ID: 213517 Summary: audio/raop_play: Fix build with libc++ 3.9.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org Created attachment 175799 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175799&action= =3Dedit Use correct type for strstr() return value During the exp-run for bug 212343, audio/raop_play failed to build, because strstr() on a const string now returns a const string too: aexcl_play.cxx:209:11: error: assigning to 'char *' from incompatible type 'const char *' if(!(astr=3Dstrstr(rargv[1],IP_NAME_DELIM))) return -1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This can easily be fixed by making astr a const char *. --=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-213517-13>