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)
This commit is contained in:
Piotr Kubaj 2020-11-23 16:13:15 +00:00
parent 199580b7dd
commit 29410b915b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556113

View File

@ -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