mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build when usng clang.
This commit is contained in:
parent
ec645f596b
commit
25d82f9122
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319122
@ -28,7 +28,7 @@ CONFIGURE_ARGS+= --with-logdir="${SUDOSH_LOGDIR}"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-logdir=/var/log/sudosh
|
||||
.endif
|
||||
CFLAGS+= -lutil
|
||||
LDFLAGS+= -lutil
|
||||
|
||||
MAN1= sudosh.1
|
||||
MAN5= sudosh.conf.5
|
||||
|
11
security/sudosh2/files/patch-src-replay.c
Normal file
11
security/sudosh2/files/patch-src-replay.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/replay.c.orig 2010-07-09 13:37:01.000000000 -0700
|
||||
+++ src/replay.c 2013-05-26 10:07:55.720227505 -0700
|
||||
@@ -238,7 +238,7 @@
|
||||
strncpy(s->randstr, randstr, BUFSIZ - 1);
|
||||
strftime(s->date, 20, "%m/%d/%Y %H:%M:%S", localtime(&s->e));
|
||||
snprintf(s->id, BUFSIZ - 1, "%s%c%s%c%ld%c%s", s->from,
|
||||
- config_option.fdl, s->to, config_option.fdl, s->e,
|
||||
+ config_option.fdl, s->to, config_option.fdl, (long)s->e,
|
||||
config_option.fdl, s->randstr);
|
||||
|
||||
link_session(s);
|
Loading…
Reference in New Issue
Block a user