mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 09:56:43 -04:00
With clang 19, if a port uses simdjson.h, it leads to compile errors: In file included from /wrkdirs/usr/ports/sysutils/intel-pcm/work/pcm-202405/src/pcm-raw.cpp:31: /usr/local/include/simdjson.h:6156:13: error: no member named 'print_newline' in 'base_formatter<formatter>' 6156 | this->print_newline(); | ~~~~ ^ /usr/local/include/simdjson.h:6160:13: error: no member named 'print_indents' in 'base_formatter<formatter>' 6160 | this->print_indents(depth); | ~~~~ ^ /usr/local/include/simdjson.h:6164:13: error: no member named 'print_space' in 'base_formatter<formatter>' 6164 | this->print_space(); | ~~~~ ^ Upstream <https://github.com/simdjson/simdjson/commit/5d35e7ca> fixes this, but it does not directly add the change to the generated single header version of simdjson.h. So apply the fix to both the individual header and the amalgamated version. PR: 280590 Approved by: olevole@olevole.ru (maintainer) MFH: 2024Q3
31 lines
753 B
Makefile
31 lines
753 B
Makefile
PORTNAME= simdjson
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.6.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= olevole@olevole.ru
|
|
COMMENT= Parsing gigabytes of JSON per second
|
|
WWW= https://simdjson.org/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake:testing compiler:c++17-lang python:test
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
# Found in dependencies/CMakeLists.txt
|
|
GH_TUPLE= simdjson:simdjson-data:a5b13ba:simdjson_data/dependencies/.cache/simdjson-data
|
|
|
|
CMAKE_TESTING_ON= SIMDJSON_DEVELOPER_MODE
|
|
CMAKE_TESTING_OFF= SIMDJSON_ALLOW_DOWNLOADS \
|
|
SIMDJSON_COMPETITION \
|
|
SIMDJSON_GOOGLE_BENCHMARKS
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
|
|
CXXFLAGS_i386= -DSIMDJSON_NO_PORTABILITY_WARNING
|
|
CXXFLAGS_powerpc64= -mpower8-vector
|
|
|
|
.include <bsd.port.mk>
|