1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

misc/libpostal: Unbreak on aarch64

- Unbreak build:

test_expand.c:105:118: error: passing 'void *' to parameter of incompatible type 'va_list' (aka '__builtin_va_list')
        CHECK_CALL(test_expansion_contains_phrase_option_with_languages(input, output, options, root, num_languages, NULL));

- Pet portclippy while here
This commit is contained in:
Dmitri Goutnik 2019-12-27 12:44:47 +00:00
parent 28b390f966
commit 821c26373a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520985
2 changed files with 17 additions and 7 deletions

View File

@ -4,8 +4,12 @@ PORTNAME= libpostal
DISTVERSIONPREFIX= v
DISTVERSION= 1.1
DISTVERSIONSUFFIX= -alpha
PORTREVISION= 1
CATEGORIES= misc geography
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
PATCHFILES= 21601eb4b8941b8d6d9b795b1d6db4bd376f5b28.patch:-p1
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Library for parsing/normalizing street addresses around the world
@ -19,27 +23,29 @@ RUN_DEPENDS= curl:ftp/curl
USES= autoreconf libtool localbase
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= openvenues
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${LIBPOSTAL_DATADIR} \
--disable-data-download \
--disable-static
USE_GITHUB= yes
GH_ACCOUNT= openvenues
TEST_TARGET= check
LIBPOSTAL_DATADIR?= /var/db/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME} \
LIBPOSTAL_DATADIR=${LIBPOSTAL_DATADIR}
PORTDOCS= README.md
OPTIONS_DEFINE= CBLAS DOCS SSE2
OPTIONS_SUB= yes
CBLAS_DESC= Build with CBLAS/OPENBLAS
SSE2_DESC= Enable SSE2 optimization
OPTIONS_SUB= yes
CBLAS_BUILD_DEPENDS= ${LOCALBASE}/include/cblas.h:math/cblas
CBLAS_LIB_DEPENDS= libopenblas.so:math/openblas
@ -47,6 +53,8 @@ CBLAS_CONFIGURE_WITH= cblas=${LOCALBASE}/lib/libopenblas.so
SSE2_CONFIGURE_ENABLE= sse2
LIBPOSTAL_DATADIR?= /var/db/${PORTNAME}
pre-configure:
@cd ${WRKSRC} && ${SH} bootstrap.sh

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1554382755
TIMESTAMP = 1577449742
SHA256 (openvenues-libpostal-v1.1-alpha_GH0.tar.gz) = c8a88eed70d8c09f68e1e69bcad35cb397e6ef11b3314e18a87b314c0a5b4e3a
SIZE (openvenues-libpostal-v1.1-alpha_GH0.tar.gz) = 5602195
SHA256 (21601eb4b8941b8d6d9b795b1d6db4bd376f5b28.patch) = 523539ca2f537b3eacbb339998d08633c47153ccba3c4b8cdfe9662c0f910830
SIZE (21601eb4b8941b8d6d9b795b1d6db4bd376f5b28.patch) = 2593