Fix build with -fno-common
This commit is contained in:
parent
dc559b33bf
commit
3660c2bf25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549095
@ -3,7 +3,7 @@
|
||||
PORTNAME= tlsdate
|
||||
PORTVERSION= 0.0.13
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
|
11
sysutils/tlsdate/files/patch-src_tlsdate.h
Normal file
11
sysutils/tlsdate/files/patch-src_tlsdate.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/tlsdate.h.orig 2020-09-20 12:00:20 UTC
|
||||
+++ src/tlsdate.h
|
||||
@@ -188,7 +188,7 @@ struct state
|
||||
int exitting;
|
||||
};
|
||||
|
||||
-char timestamp_path[PATH_MAX];
|
||||
+extern char timestamp_path[PATH_MAX];
|
||||
|
||||
int is_sane_time (time_t ts);
|
||||
int load_disk_timestamp (const char *path, time_t * t);
|
Loading…
Reference in New Issue
Block a user