SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
net/libpsl/patches/patch-tools_psl_c
Normal file
14
net/libpsl/patches/patch-tools_psl_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Print time_t in a portable way.
|
||||
|
||||
Index: tools/psl.c
|
||||
--- tools/psl.c.orig
|
||||
+++ tools/psl.c
|
||||
@@ -290,7 +290,7 @@ int main(int argc, const char *const *argv)
|
||||
printf("builtin exceptions: %d\n", psl_suffix_exception_count(psl));
|
||||
printf("builtin wildcards: %d\n", psl_suffix_wildcard_count(psl));
|
||||
printf("builtin filename: %s\n", psl_builtin_filename());
|
||||
- printf("builtin file time: %ld (%s)\n", (long) psl_builtin_file_time(), time2str(psl_builtin_file_time()));
|
||||
+ printf("builtin file time: %lld (%s)\n", (long long)psl_builtin_file_time(), time2str(psl_builtin_file_time()));
|
||||
printf("builtin SHA1 file hash: %s\n", psl_builtin_sha1sum());
|
||||
printf("builtin outdated: %d\n", psl_builtin_outdated());
|
||||
} else
|
Loading…
Add table
Add a link
Reference in a new issue