svn commit: r556113 - head/biology/tabixpp

Piotr Kubaj pkubaj at FreeBSD.org
Mon Nov 23 16:13:16 UTC 2020


Author: pkubaj
Date: Mon Nov 23 16:13:15 2020
New Revision: 556113
URL: https://svnweb.freebsd.org/changeset/ports/556113

Log:
  biology/tabixpp: fix build on GCC architectures
  
  c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -fPIC -c tabix.cpp -Ihtslib
  In file included from /usr/local/include/htslib/hts.h:37,
                   from /usr/local/include/htslib/tbx.h:30,
                   from tabix.hpp:5,
                   from tabix.cpp:1:
  /usr/local/include/htslib/kstring.h: In function 'int ks_resize(kstring_t*, size_t)':
  /usr/local/include/htslib/kstring.h:149: error: 'SIZE_MAX' was not declared in this scope
  tabix.cpp: In constructor 'Tabix::Tabix(std::string&)':
  tabix.cpp:15: warning: 'bgzf_is_bgzf' is deprecated (declared at /usr/local/include/htslib/bgzf.h:263)
  tabix.cpp:15: warning: 'bgzf_is_bgzf' is deprecated (declared at /usr/local/include/htslib/bgzf.h:263)

Modified:
  head/biology/tabixpp/Makefile

Modified: head/biology/tabixpp/Makefile
==============================================================================
--- head/biology/tabixpp/Makefile	Mon Nov 23 15:17:26 2020	(r556112)
+++ head/biology/tabixpp/Makefile	Mon Nov 23 16:13:15 2020	(r556113)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libhts.so:biology/htslib
 
-USES=		localbase:ldflags
+USES=		compiler:c11 localbase:ldflags
 USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	ekg


More information about the svn-ports-head mailing list