Date: Sat, 11 Jan 2020 10:43:32 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522673 - in head/devel/json-c: . files Message-ID: <202001111043.00BAhWLa048138@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Jan 11 10:43:31 2020 New Revision: 522673 URL: https://svnweb.freebsd.org/changeset/ports/522673 Log: Fix make test - Remove USES=gmake PR: 243257 Reported by: Daniel Engberg <daniel.engberg.lists@pyret.net> Added: head/devel/json-c/files/ head/devel/json-c/files/patch-tests-test_parse.c (contents, props changed) Modified: head/devel/json-c/Makefile Modified: head/devel/json-c/Makefile ============================================================================== --- head/devel/json-c/Makefile Sat Jan 11 10:43:26 2020 (r522672) +++ head/devel/json-c/Makefile Sat Jan 11 10:43:31 2020 (r522673) @@ -14,7 +14,7 @@ COMMENT= JSON (JavaScript Object Notation) implementat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf compiler:c11 cpe gmake libtool pathfix pkgconfig +USES= autoreconf compiler:c11 cpe libtool pathfix pkgconfig GNU_CONFIGURE= yes INSTALL_TARGET= install-strip Added: head/devel/json-c/files/patch-tests-test_parse.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/json-c/files/patch-tests-test_parse.c Sat Jan 11 10:43:31 2020 (r522673) @@ -0,0 +1,17 @@ +--- tests/test_parse.c.orig 2018-01-16 04:33:49 UTC ++++ tests/test_parse.c +@@ -253,11 +253,11 @@ struct incremental_step { + the next few tests check that parsing multiple sequential + json objects in the input works as expected */ + { "null123", 9, 4, json_tokener_success, 0 }, +- { "null123" + 4, 4, 3, json_tokener_success, 1 }, ++ { &"null123"[4], 4, 3, json_tokener_success, 1 }, + { "nullx", 5, 4, json_tokener_success, 0 }, +- { "nullx" + 4, 2, 0, json_tokener_error_parse_unexpected, 1 }, ++ { &"nullx"[4], 2, 0, json_tokener_error_parse_unexpected, 1 }, + { "{\"a\":1}{\"b\":2}",15, 7, json_tokener_success, 0 }, +- { "{\"a\":1}{\"b\":2}" + 7, ++ { &"{\"a\":1}{\"b\":2}"[7], + 8, 7, json_tokener_success, 1 }, + + /* Some bad formatting. Check we get the correct error status */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001111043.00BAhWLa048138>