SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
security/hashdeep/patches/patch-src_xml_h
Normal file
14
security/hashdeep/patches/patch-src_xml_h
Normal file
|
@ -0,0 +1,14 @@
|
|||
Fix for Clang 6.
|
||||
|
||||
Index: src/xml.h
|
||||
--- src/xml.h.orig
|
||||
+++ src/xml.h
|
||||
@@ -100,7 +100,7 @@ class XML { (public)
|
||||
void xmlout(const std::string &tag,const std::string &value){ xmlout(tag,value,"",true); }
|
||||
void xmlout(const std::string &tag,const int value){ xmlprintf(tag,"","%d",value); }
|
||||
void xmloutl(const std::string &tag,const long value){ xmlprintf(tag,"","%ld",value); }
|
||||
- void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); }
|
||||
+ void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%" PRId64,value); }
|
||||
void xmlout(const std::string &tag,const double value){ xmlprintf(tag,"","%f",value); }
|
||||
void xmlout(const std::string &tag,const struct timeval &ts){
|
||||
xmlprintf(tag,"","%d.%06d",(int)ts.tv_sec, (int)ts.tv_usec);
|
Loading…
Add table
Add a link
Reference in a new issue