aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2018-01-23 17:25:45 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:28:06 +0800
commit744d3f9fce191b059e3eac56aa3d3189e775c7e9 (patch)
treeb62a33612d3c33b7d511841c63941306146cd120 /security
parentd47b03698baf53e1c620e6bbb2f317a93dafabca (diff)
downloadfreebsd-ports-gnome-744d3f9fce191b059e3eac56aa3d3189e775c7e9.tar.gz
freebsd-ports-gnome-744d3f9fce191b059e3eac56aa3d3189e775c7e9.tar.zst
freebsd-ports-gnome-744d3f9fce191b059e3eac56aa3d3189e775c7e9.zip
security/stoken: fix constant that was renamed in libtommath 1.18.1
See https://github.com/libtom/libtomcrypt/commit/3522c7 Reported by: antoine
Diffstat (limited to 'security')
-rw-r--r--security/stoken/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/stoken/Makefile b/security/stoken/Makefile
index 1756288fb8a4..29a37b22cddd 100644
--- a/security/stoken/Makefile
+++ b/security/stoken/Makefile
@@ -34,5 +34,7 @@ INSTALL_TARGET= install-strip
post-patch:
${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e 's|LTC_LTC_PKCS_1_V1_5|LTC_PKCS_1_V1_5|g' \
+ ${WRKSRC}/src/stc-tomcrypt.c
.include <bsd.port.mk>