diff --git a/devel/got/Makefile b/devel/got/Makefile index f63c17119a66..ec7a9c5dec40 100644 --- a/devel/got/Makefile +++ b/devel/got/Makefile @@ -1,34 +1,34 @@ PORTNAME= got -PORTVERSION= 0.84 +PORTVERSION= 0.85 CATEGORIES= devel MASTER_SITES= https://gameoftrees.org/releases/ MAINTAINER= naddy@FreeBSD.org COMMENT= Game of Trees version control system WWW= https://gameoftrees.org LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENCE USES= uidfix CONFLICTS_INSTALL= p5-App-GitGot # Insert #include "openbsd-compat.h" into each source file, # after the <...> includes and before the "..." ones. n= ${.newline} post-extract: @${FIND} ${WRKSRC} -name '*.[cy]' -exec \ ${REINPLACE_CMD} '1,/^#include "/{ \ /^#include "/i\$n#include "openbsd-compat.h"\$n$n}' \ {} + ${CP} -R ${FILESDIR}/openbsd-compat ${WRKSRC} # The regression test suite requires: # installed got # installed git # ssh to 127.0.0.1 regress: @(cd ${WRKSRC}/regress && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} regress) .include diff --git a/devel/got/distinfo b/devel/got/distinfo index 2e08f69776c8..f6237a522f2a 100644 --- a/devel/got/distinfo +++ b/devel/got/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677106306 -SHA256 (got-0.84.tar.gz) = 43d573e37f2a1cce7ed6d30c459d19a44a4e7ca77ca3f92cf982bb747341628c -SIZE (got-0.84.tar.gz) = 801305 +TIMESTAMP = 1678215583 +SHA256 (got-0.85.tar.gz) = 4d11f22fc1bf73cb4b9ac0fab836dd973b752ca67c98d6701e4ec1b9bf1557b3 +SIZE (got-0.85.tar.gz) = 804469 diff --git a/devel/got/files/openbsd-compat/sha2.h b/devel/got/files/openbsd-compat/sha2.h new file mode 100644 index 000000000000..28eb07763b8f --- /dev/null +++ b/devel/got/files/openbsd-compat/sha2.h @@ -0,0 +1,11 @@ +#ifndef _OPENBSD_COMPAT_SHA2_H_ +#define _OPENBSD_COMPAT_SHA2_H_ + +#include + +#define SHA2_CTX SHA256_CTX +#define SHA256Init SHA256_Init +#define SHA256Update SHA256_Update +#define SHA256Final SHA256_Final + +#endif diff --git a/devel/got/files/patch-regress_cmdline_commit.sh b/devel/got/files/patch-regress_cmdline_commit.sh deleted file mode 100644 index 6113f815e739..000000000000 --- a/devel/got/files/patch-regress_cmdline_commit.sh +++ /dev/null @@ -1,20 +0,0 @@ ---- regress/cmdline/commit.sh.orig 2023-01-30 08:56:03 UTC -+++ regress/cmdline/commit.sh -@@ -1492,7 +1492,7 @@ test_commit_prepared_logmsg() { - - cat > $testroot/editor.sh < $testroot/editor.sh < $testroot/editor.sh < $testroot/editor.sh < $testroot/editor.sh < $testroot/editor.sh < $testroot/editor.sh <