Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2020 16:13:15 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556113 - head/biology/tabixpp
Message-ID:  <202011231613.0ANGDFKS061966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011231613.0ANGDFKS061966>