SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Fixes for Clang 6.
Index: src/hashlist.cpp
--- src/hashlist.cpp.orig
+++ src/hashlist.cpp
@@ -342,7 +342,7 @@ hashlist::load_hash_file(display *ocb,const std::strin
file_data_t *t = new (std::nothrow) file_data_t();
if (NULL == t)
{
- ocb->fatal_error("%s: Out of memory in line %"PRIu64,
+ ocb->fatal_error("%s: Out of memory in line %" PRIu64,
fn.c_str(), line_number);
}
@@ -390,7 +390,7 @@ hashlist::load_hash_file(display *ocb,const std::strin
if ( !algorithm_t::valid_hash(hash_column[column_number],word))
{
if (ocb)
- ocb->error("%s: Invalid %s hash in line %"PRIu64,
+ ocb->error("%s: Invalid %s hash in line %" PRIu64,
fn.c_str(),
hashes[hash_column[column_number]].name.c_str(),
line_number);