File exiv2-build-date.patch of Package exiv2.7770

diff -urB exiv2-trunk/config/Doxyfile new/config/Doxyfile
--- exiv2-trunk/config/Doxyfile	2017-03-16 19:13:12.000000000 +0100
+++ new/config/Doxyfile	2017-05-07 13:03:56.000000000 +0200
@@ -981,7 +981,7 @@
 # page will contain the date and time when the page was generated. Setting
 # this to NO can help when comparing the output of multiple runs.
 
-HTML_TIMESTAMP         = YES
+HTML_TIMESTAMP         = NO
 
 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
 # documentation will contain sections that can be hidden and shown after the
diff -urB exiv2-trunk/samples/geotag.cpp new/samples/geotag.cpp
--- exiv2-trunk/samples/geotag.cpp	2016-09-29 19:06:02.000000000 +0200
+++ new/samples/geotag.cpp	2017-05-07 13:04:39.000000000 +0200
@@ -667,7 +667,7 @@
 
 int version(const char* program)
 {
-    printf("%s: %s %s\n",program,__DATE__,__TIME__);
+    printf("%s\n",program);
     return 0;
 }
 
diff -urB exiv2-trunk/src/version.cpp new/src/version.cpp
--- exiv2-trunk/src/version.cpp	2017-04-23 21:29:19.000000000 +0200
+++ new/src/version.cpp	2017-05-07 13:05:20.000000000 +0200
@@ -524,8 +524,6 @@
     output(os,keys,"cplusplus"      , __cplusplus);
     output(os,keys,"cplusplus11"    , __cplusplus >= CPLUSPLUS11 );
     output(os,keys,"version"        , __VERSION__);
-    output(os,keys,"date"           , __DATE__   );
-    output(os,keys,"time"           , __TIME__   );
     output(os,keys,"svn"            , SVN_VERSION);
     output(os,keys,"ssh"            , EXV_USE_SSH);
 #if EXV_USE_CURL == 1
openSUSE Build Service is sponsored by