Bug 81827

Summary: /usr/ports/audio/muse broken on 5-STABLE
Product: Ports & Packages Reporter: emz
Component: Individual Port(s)Assignee: Sergey A. Osokin <osa>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description emz 2005-06-03 09:20:02 UTC
      When trying to build /usr/ports/audio/muse on 5.x the following error appear:

===Cut===
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -Ishout -I/usr/X11R6/include -Incursesgui  -I/usr/local/include -DHAVE_DECL_GETOPT -
DHAVE_SYS_UIO_H    -O -pipe  -D_REENTRANT -MT pipe.o -MD -MP -MF ".deps/pipe.Tpo" \
  -c -o pipe.o `test -f 'pipe.cpp' || echo './'`pipe.cpp; \
then mv -f ".deps/pipe.Tpo" ".deps/pipe.Po"; \
else rm -f ".deps/pipe.Tpo"; exit 1; \
fi
pipe.cpp: In member function `int Pipe::read_float_intl(int, float*, int)':
pipe.cpp:122: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:124: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:150: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:151: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp: In member function `int Pipe::read_float_bidi(int, float**, int)':
pipe.cpp:228: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:230: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:257: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:258: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp: In member function `int Pipe::mix16stereo(int, int32_t*)':
pipe.cpp:313: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:315: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:328: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:329: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp: In member function `int Pipe::read(int, void*)':
pipe.cpp:376: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:378: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:385: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:386: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp: In member function `int Pipe::write(int, void*)':
pipe.cpp:422: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:426: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:433: error: ISO C++ forbids cast to non-reference type used as lvalue
pipe.cpp:434: error: ISO C++ forbids cast to non-reference type used as lvalue
gmake[3]: *** [pipe.o] Error 1
gmake[3]: Leaving directory `/usr/ports/audio/muse/work/MuSE-0.9/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/audio/muse/work/MuSE-0.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/muse/work/MuSE-0.9'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/audio/muse.
===Cut===

Fix: 

none fixes known.
How-To-Repeat:       cd /usr/ports/audio/muse && make -DWITHOUT_X11
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2005-06-03 12:38:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

I'll handle this.
Comment 2 Sergey A. Osokin freebsd_committer freebsd_triage 2005-06-03 12:43:13 UTC
State Changed
From-To: open->closed

Problem fixed, thanks fo report.