Index: devel/json-c/Makefile =================================================================== --- devel/json-c/Makefile (revision 551758) +++ devel/json-c/Makefile (working copy) @@ -23,11 +23,6 @@ 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/ Index: devel/json-c/files/patch-CMakeLists.txt =================================================================== --- devel/json-c/files/patch-CMakeLists.txt (nonexistent) +++ devel/json-c/files/patch-CMakeLists.txt (working copy) @@ -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: 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