ports/audio/mp3blaster/files/patch-mpegsound_nasplayer.cc
Tobias Kortkamp a41997696e Update to 3.2.6
While here:
- Add license
- Add the missing SDL option to OPTIONS_DEFINE
- Fix ESOUND option
- Fix build of NAS option with Clang < 4.0
- The configure script says this
  configure: WARNING: unrecognized options: --with-cxxflags
  so remove it from CONFIGURE_ARGS
- Regenerate patches

Changes:	http://www.mp3blaster.org/2017/05/its-only-been-8-years.html
PR:		219808
Approved by:	lme (mentor), novel (maintainer)
Differential Revision:	https://reviews.freebsd.org/D11076
2017-06-06 21:20:56 +00:00

14 lines
471 B
C++

nasplayer.cc:37:23: error: out-of-line definition of 'opendevice' does not match any declaration in 'NASplayer'
NASplayer *NASplayer::opendevice(char *server)
^~~~~~~~~~
--- mpegsound/nasplayer.cc.orig 2017-06-06 00:05:37 UTC
+++ mpegsound/nasplayer.cc
@@ -34,7 +34,7 @@ NASplayer::~NASplayer()
}
}
-NASplayer *NASplayer::opendevice(char *server)
+NASplayer *NASplayer::opendevice(const char *server)
{
AuServer *aud;
char *return_status;