diff --git a/devel/got/Makefile b/devel/got/Makefile index fb9f1e3e8620..43024bca5569 100644 --- a/devel/got/Makefile +++ b/devel/got/Makefile @@ -1,31 +1,31 @@ PORTNAME= got -PORTVERSION= 0.64 +PORTVERSION= 0.65 CATEGORIES= devel MASTER_SITES= https://gameoftrees.org/releases/ MAINTAINER= naddy@FreeBSD.org COMMENT= Game of Trees version control system LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENCE USES= uidfix # 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 6636183391b0..52d48a9869c5 100644 --- a/devel/got/distinfo +++ b/devel/got/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1637683126 -SHA256 (got-0.64.tar.gz) = eea13d8deb4c9022333b3b2bead3ea0bf45740ba35111fd86a7f4da2144dc462 -SIZE (got-0.64.tar.gz) = 578675 +TIMESTAMP = 1641559246 +SHA256 (got-0.65.tar.gz) = 24805d39767e4e829c1206aa91885aa361a91517a0623efef90a7e70e15a9dc1 +SIZE (got-0.65.tar.gz) = 581013 diff --git a/devel/got/files/openbsd-compat/openbsd-compat.h b/devel/got/files/openbsd-compat/openbsd-compat.h index 8f48c6469e4b..6fc91966fef1 100644 --- a/devel/got/files/openbsd-compat/openbsd-compat.h +++ b/devel/got/files/openbsd-compat/openbsd-compat.h @@ -1,31 +1,28 @@ /* * Compatibility mappings for system headers and * prototypes for functions in libopenbsd-compat. */ #ifndef _OPENBSD_COMPAT_H_ #define _OPENBSD_COMPAT_H_ /* * */ #define __dead __dead2 /* * */ void freezero(void *, size_t); void *recallocarray(void *, size_t, size_t, size_t); /* * */ int getdtablecount(void); -/* void -> int */ -#define closefrom(fd) (closefrom(fd), 0) - #define pledge(promises, execpromises) 0 #define unveil(path, permissions) 0 #endif /* _OPENBSD_COMPAT_H_ */