Fix compiler issues for 12.0

- replace preprocessor variable _GCU_VERSION_ with __VERSION__
- Bump PORTREVISION
This commit is contained in:
Rodrigo Osorio 2018-07-03 10:06:41 +00:00
parent 9a8aa34b7b
commit d887f8e778
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473816
3 changed files with 23 additions and 1 deletions

View file

@ -4,7 +4,7 @@
PORTNAME= lmms
PORTVERSION= 1.1.3
DISTVERSIONPREFIX= v
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= audio

View file

@ -0,0 +1,11 @@
--- src/core/main.cpp.orig 2018-07-02 13:15:50 UTC
+++ src/core/main.cpp
@@ -156,7 +156,7 @@ int main( int argc, char * * argv )
"License as published by the Free Software Foundation; either\n"
"version 2 of the License, or (at your option) any later version.\n\n"
"Try \"%s --help\" for more information.\n\n", LMMS_VERSION,
- PLATFORM, MACHINE, QT_VERSION_STR, GCC_VERSION,
+ PLATFORM, MACHINE, QT_VERSION_STR, __VERSION__,
argv[0] );
return( EXIT_SUCCESS );

View file

@ -0,0 +1,11 @@
--- src/gui/about_dialog.cpp.orig 2018-07-02 13:46:00 UTC
+++ src/gui/about_dialog.cpp
@@ -46,7 +46,7 @@ aboutDialog::aboutDialog() :
arg( PLATFORM ).
arg( MACHINE ).
arg( QT_VERSION_STR ).
- arg( GCC_VERSION ) );
+ arg( __VERSION__ ) );
authorLabel->setPlainText( embed::getText( "AUTHORS" ) );