svn commit: r543684 - branches/2020Q3/devel/libcjson
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jul 29 22:14:41 UTC 2020
Author: pkubaj
Date: Wed Jul 29 22:14:40 2020
New Revision: 543684
URL: https://svnweb.freebsd.org/changeset/ports/543684
Log:
MFH: r543683
devel/libcjson: fix build on GCC architectures
Disable -Werror, along with other -W flags, that cause build to break with GCC (builds with Clang as well):
/wrkdirs/usr/ports/devel/libcjson/work/cJSON-1.7.13/cJSON.c:559:15: error: conversion from 'double' to 'float' may change value [-Werror=float-conversion]
Approved by: portmgr (fix build blanket)
Modified:
branches/2020Q3/devel/libcjson/Makefile
Directory Properties:
branches/2020Q3/ (props changed)
Modified: branches/2020Q3/devel/libcjson/Makefile
==============================================================================
--- branches/2020Q3/devel/libcjson/Makefile Wed Jul 29 22:12:52 2020 (r543683)
+++ branches/2020Q3/devel/libcjson/Makefile Wed Jul 29 22:14:40 2020 (r543684)
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c11
CMAKE_ON= BUILD_SHARED_AND_STATIC_LIBS ENABLE_CJSON_UTILS ENABLE_TARGET_EXPORT
+CMAKE_OFF= ENABLE_CUSTOM_COMPILER_FLAGS
USE_CSTD= c11
PLIST_SUB= PORTVERSION=${PORTVERSION}
More information about the svn-ports-all
mailing list