d0b87ee87b
.patch
Subject: [PATCH] Add an explicit cast to double to squash a
-Wimplicit-int-float-conversion warning. Though we will no longer be
comparing exactly against INT64_MAX, this is ok because any value of that
magnitude stored in a double will *also* have been rounded up, so the
comparison will work appropriately.
27 lines
640 B
Makefile
27 lines
640 B
Makefile
# $OpenBSD: Makefile,v 1.21 2020/07/31 12:13:28 sthen Exp $
|
|
|
|
COMMENT= JSON implementation in C
|
|
|
|
DISTNAME= json-c-0.13.1
|
|
REVISION= 0
|
|
CATEGORIES= devel
|
|
|
|
SHARED_LIBS= json-c 1.1 # 4.0
|
|
|
|
HOMEPAGE= https://github.com/json-c/json-c/wiki
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES = https://s3.amazonaws.com/json-c_releases/releases/
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.69
|
|
|
|
# not enabled by default at present, but we want to make sure we
|
|
# don't use it if it's later enabled, we patch to use arc4random instead.
|
|
# (the cpuid code will probably break with PIE on i386 too).
|
|
CONFIGURE_ARGS= --disable-rdrand
|
|
|
|
.include <bsd.port.mk>
|