Index: head/devel/json-c/Makefile =================================================================== --- head/devel/json-c/Makefile (revision 551864) +++ head/devel/json-c/Makefile (revision 551865) @@ -1,34 +1,29 @@ # Created by: gno@yahoo-inc.com # $FreeBSD$ PORTNAME= json-c PORTVERSION= 0.15 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://s3.amazonaws.com/json-c_releases/releases/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= JSON (JavaScript Object Notation) implementation in C LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c11 cpe CMAKE_OFF= BUILD_DOCUMENTATION CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS DISABLE_WERROR TEST_TARGET= test USE_LDCONFIG= yes CPE_VENDOR= json-c_project -# Avoid use of newlocale(3) that results in increasing memory usage -post-configure: - ${REINPLACE_CMD} -e 's|.*HAVE_USELOCALE|// &|' \ - ${CONFIGURE_WRKSRC}/config.h - post-install: ${INSTALL_DATA} ${WRKSRC}/json_object_private.h ${STAGEDIR}${PREFIX}/include/json-c/ .include Index: head/devel/json-c/files/patch-CMakeLists.txt =================================================================== --- head/devel/json-c/files/patch-CMakeLists.txt (nonexistent) +++ head/devel/json-c/files/patch-CMakeLists.txt (revision 551865) @@ -0,0 +1,13 @@ +Avoid use of newlocale(3) that results in increasing memory usage + +--- CMakeLists.txt.orig 2020-07-26 15:08:19 UTC ++++ CMakeLists.txt +@@ -177,7 +177,7 @@ if (HAVE_STDLIB_H) + endif() + if (HAVE_LOCALE_H) + check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE) +- check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE) ++ # check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE) + endif() + if (HAVE_STRINGS_H) + check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP) Property changes on: head/devel/json-c/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property