File hydrogen-no-current-time.patch of Package hydrogen
Index: src/cli/main.cpp
===================================================================
--- src/cli/main.cpp.orig 2016-11-05 10:22:50.000000000 +0200
+++ src/cli/main.cpp 2017-04-12 13:59:21.056205885 +0200
@@ -429,7 +429,7 @@ int main(int argc, char *argv[])
/* Show some information */
void showInfo()
{
- cout << "\nHydrogen " + get_version() + " [" + __DATE__ + "] [http://www.hydrogen-music.org]" << endl;
+ cout << "\nHydrogen " + get_version() + " [" + + "] [http://www.hydrogen-music.org]" << endl;
cout << "Copyright 2002-2008 Alessandro Cominu" << endl;
if ( Object::count_active() ) {
Index: src/gui/src/AboutDialog.cpp
===================================================================
--- src/gui/src/AboutDialog.cpp.orig 2016-11-05 10:22:50.000000000 +0200
+++ src/gui/src/AboutDialog.cpp 2017-04-12 14:00:34.654509868 +0200
@@ -43,7 +43,7 @@ AboutDialog::AboutDialog(QWidget* parent
move( 240, 100 );
QString about;
- about += QString("<center><b>Hydrogen Drum Machine %1 [%2] </b><br>").arg( H2Core::get_version().c_str() ).arg( __DATE__ );
+ about += QString("<center><b>Hydrogen Drum Machine %1 [%2] </b><br>").arg( H2Core::get_version().c_str() ).arg( NULL );
about += tr( "<b>Website</b><br>" );
about += "http://www.hydrogen-music.org<br><br>";
about += tr( "<b>Project page</b><br>");
Index: src/gui/src/main.cpp
===================================================================
--- src/gui/src/main.cpp.orig 2016-11-05 10:22:50.000000000 +0200
+++ src/gui/src/main.cpp 2017-04-12 14:02:21.285847368 +0200
@@ -485,7 +485,7 @@ int main(int argc, char *argv[])
*/
void showInfo()
{
- cout << "\nHydrogen " + H2Core::get_version() + " [" + __DATE__ + "] [http://www.hydrogen-music.org]" << endl;
+ cout << "\nHydrogen " + H2Core::get_version() + " [" + + "] [http://www.hydrogen-music.org]" << endl;
cout << "Copyright 2002-2008 Alessandro Cominu" << endl;
cout << "Copyright 2008-2016 The hydrogen development team" << endl;
Index: src/gui/src/SplashScreen.cpp
===================================================================
--- src/gui/src/SplashScreen.cpp.orig 2016-11-05 10:22:50.000000000 +0200
+++ src/gui/src/SplashScreen.cpp 2017-04-12 14:03:36.176190995 +0200
@@ -51,7 +51,7 @@ SplashScreen::SplashScreen()
p.setFont( font );
p.setPen( QColor( 20, 20, 20 ) );
- QString version = QString( "v%1 (%2)" ).arg( H2Core::get_version().c_str() ).arg( __DATE__ );
+ QString version = QString( "v%1 (%2)" ).arg( H2Core::get_version().c_str() ).arg( NULL );
p.drawText( 5, 5, width - 10, 40, Qt::AlignRight | Qt::AlignTop, version );
p.end();