mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
Ports: Fix building openssh
This fixes a spelling mistake in the timespeccmp() macro and enables debug symbols for OpenSSH to make diagnosing problems easier.
This commit is contained in:
parent
898e9492f7
commit
f89c60664c
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ files="https://github.com/openssh/openssh-portable/archive/9ca7e9c861775dd6c6312
|
||||||
auth_type=md5
|
auth_type=md5
|
||||||
depends="zlib openssl"
|
depends="zlib openssl"
|
||||||
useconfigure=true
|
useconfigure=true
|
||||||
configopts="--prefix=/usr/local --disable-utmp --sysconfdir=/etc/ssh --with-ssl-dir=${SERENITY_INSTALL_ROOT}/usr/local/lib"
|
configopts="--prefix=/usr/local --disable-utmp --disable-strip --sysconfdir=/etc/ssh --with-ssl-dir=${SERENITY_INSTALL_ROOT}/usr/local/lib"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
run autoreconf
|
run autoreconf
|
||||||
|
|
|
@ -111,6 +111,6 @@ static inline void TIMESPEC_TO_TIMEVAL(struct timeval* tv, const struct timespec
|
||||||
#define timespecclear timespecclear
|
#define timespecclear timespecclear
|
||||||
#define timespecisset timespecisset
|
#define timespecisset timespecisset
|
||||||
#define timespeccmp(ts, us, cmp) \
|
#define timespeccmp(ts, us, cmp) \
|
||||||
(((ts)->tv_sec == (us)->tv_sec) ? ((ts)->vf_nsec cmp(us)->tv_nsec) : ((ts)->tv_sec cmp(us)->tv_sec))
|
(((ts)->tv_sec == (us)->tv_sec) ? ((ts)->tv_nsec cmp(us)->tv_nsec) : ((ts)->tv_sec cmp(us)->tv_sec))
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue