File openbabel-2.2.3-no-build-date.patch of Package openbabel
Index: tools/babel.cpp
===================================================================
--- tools/babel.cpp.orig
+++ tools/babel.cpp
@@ -98,8 +98,7 @@ int main(int argc,char *argv[])
case 'V':
{
- cout << "Open Babel " << BABEL_VERSION << " -- "
- << __DATE__ << " -- " << __TIME__ << endl;
+ cout << "Open Babel " << BABEL_VERSION << endl;
exit(0);
}
@@ -395,8 +394,7 @@ void DoOption(const char* p, OBConversio
void usage()
{
- cout << "Open Babel " << BABEL_VERSION << " -- " << __DATE__ << " -- "
- << __TIME__ << endl;
+ cout << "Open Babel " << BABEL_VERSION << endl;
cout << "Usage: " << program_name
<< " [-i<input-type>] <name> [-o<output-type>] <name>" << endl;
cout << "Try -H option for more information." << endl;