ports/audio/mp3blaster/files/patch-src_main.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

11 lines
350 B
C++

--- src/main.cc.orig 2017-05-15 22:14:13 UTC
+++ src/main.cc
@@ -5480,7 +5480,7 @@ main(int argc, char *argv[], char *envp[])
{ 0, 0, 0, 0}
};
- c = getopt_long(argc, argv, "28a:c:df:hl:m:no:p:qRr:s:t:v", long_options,
+ c = getopt_long_only(argc, argv, "28a:c:df:hl:m:no:p:qRr:s:t:v", long_options,
&long_index);
if (c == EOF)