Index: head/biology/vsearch/Makefile =================================================================== --- head/biology/vsearch/Makefile (revision 501258) +++ head/biology/vsearch/Makefile (revision 501259) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= vsearch DISTVERSIONPREFIX= v -DISTVERSION= 2.13.3 +DISTVERSION= 2.13.4 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Versatile open-source tool for metagenomics LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt # Note: For PPC need power8 or later, little endian ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= Explicitly enumerated by upstream developers LIB_DEPENDS= libsysinfo.so:devel/libsysinfo USES= autoreconf gmake localbase USE_GITHUB= yes GH_ACCOUNT= torognes GNU_CONFIGURE= yes PLIST_FILES= bin/vsearch man/man1/vsearch.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes .include Index: head/biology/vsearch/distinfo =================================================================== --- head/biology/vsearch/distinfo (revision 501258) +++ head/biology/vsearch/distinfo (revision 501259) @@ -1,3 +1,3 @@ -TIMESTAMP = 1557339663 -SHA256 (torognes-vsearch-v2.13.3_GH0.tar.gz) = e5f34ece28b76403d3ba4a673eca41178fe399c35a1023dbc87d0c0da5efaa52 -SIZE (torognes-vsearch-v2.13.3_GH0.tar.gz) = 233846 +TIMESTAMP = 1557579514 +SHA256 (torognes-vsearch-v2.13.4_GH0.tar.gz) = 35269cbb10d1d2c33fdddd47ff4a5434eda1d4445fcc816bf4c57d7fe4740709 +SIZE (torognes-vsearch-v2.13.4_GH0.tar.gz) = 234364 Index: head/biology/vsearch/files/patch-src_vsearch.h =================================================================== --- head/biology/vsearch/files/patch-src_vsearch.h (revision 501258) +++ head/biology/vsearch/files/patch-src_vsearch.h (nonexistent) @@ -1,67 +0,0 @@ -$NetBSD$ - -# Add FreeBSD and NetBSD support - ---- src/vsearch.h.orig 2019-04-30 11:57:32 UTC -+++ src/vsearch.h -@@ -138,30 +138,50 @@ - #define bswap_32(x) _byteswap_ulong(x) - #define bswap_64(x) _byteswap_uint64(x) - --#else -+#elif defined(__APPLE__) - --#ifdef __APPLE__ -- - #define PROG_OS "macos" - #include - #include -+#include - #define bswap_16(x) OSSwapInt16(x) - #define bswap_32(x) OSSwapInt32(x) - #define bswap_64(x) OSSwapInt64(x) - --#else -+#elif defined(__linux__) - --#ifdef __linux__ - #define PROG_OS "linux" --#else --#define PROG_OS "unknown" --#endif -- - #include - #include -+#include - --#endif -+#elif defined(__FreeBSD__) - -+#define PROG_OS "freebsd" -+#include -+#include -+#include -+#define bswap_16(x) bswap16(x) -+#define bswap_32(x) bswap32(x) -+#define bswap_64(x) bswap64(x) -+ -+#elif defined(__NetBSD__) -+ -+#define PROG_OS "netbsd" -+#include -+#include -+#include -+#define bswap_16(x) bswap16(x) -+#define bswap_32(x) bswap32(x) -+#define bswap_64(x) bswap64(x) -+// Alters behavior, but NetBSD 7 does not have getopt_long_only() -+#define getopt_long_only getopt_long -+ -+#else // Other Unix -+ -+#define PROG_OS "unknown" -+#include -+#include - #include - - #endif Property changes on: head/biology/vsearch/files/patch-src_vsearch.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/biology/vsearch/files/patch-src_city.cc =================================================================== --- head/biology/vsearch/files/patch-src_city.cc (revision 501258) +++ head/biology/vsearch/files/patch-src_city.cc (nonexistent) @@ -1,20 +0,0 @@ -$NetBSD$ - -# Portability - ---- src/city.cc.orig 2019-04-30 11:57:32 UTC -+++ src/city.cc -@@ -60,6 +60,13 @@ static uint32 UNALIGNED_LOAD32(const char *p) { - #define bswap_32(x) OSSwapInt32(x) - #define bswap_64(x) OSSwapInt64(x) - -+#elif defined(__FreeBSD__) -+ -+#include -+ -+#define bswap_32(x) bswap32(x) -+#define bswap_64(x) bswap64(x) -+ - #elif defined(__NetBSD__) - - #include Property changes on: head/biology/vsearch/files/patch-src_city.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property