File be-1.4.0-remove-date-time.patch of Package bulk_extractor
Index: bulk_extractor-1.4.0/src/dfxml/src/dfxml_writer.cpp
===================================================================
--- bulk_extractor-1.4.0.orig/src/dfxml/src/dfxml_writer.cpp
+++ bulk_extractor-1.4.0/src/dfxml/src/dfxml_writer.cpp
@@ -687,13 +687,6 @@ void dfxml_writer::add_DFXML_build_envir
#ifdef LIBS
xmlout("LIBS",LIBS,"",true);
#endif
-#if defined(__DATE__) && defined(__TIME__) && defined(HAVE_STRPTIME)
- if(strptime(__DATE__,"%b %d %Y",&tm)){
- char buf[64];
- snprintf(buf,sizeof(buf),"%4d-%02d-%02dT%s",tm.tm_year+1900,tm.tm_mon+1,tm.tm_mday,__TIME__);
- xmlout("compilation_date",buf);
- }
-#endif
#ifdef BOOST_VERSION
{
char buf[64];