From nobody Sat May 13 14:24:58 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QJSZf4YQYz4BRDd; Sat, 13 May 2023 14:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QJSZf3knSz4HLT; Sat, 13 May 2023 14:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683987898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=boAGYRYiaPGzakjUi+rrEqa8zicIhOBdci3hAgVNPuU=; b=LOZuo/ZJB0sEHLBrpee1Z/6z1YFscjLJrqad/Xy+ubXCC4fSdnMhBux+i7ACkZyK824THu Mr91JHpLz4wZqkiBufUEHVHNll3w/e4+ymh00b66X4mtUeWVYbejrm+rYWfVGpdaqUnw4Q 6tR9djz81sNgqu00ycdn4kEAa08m03w4gc1mFFCGpSm3hDnyF0oK8uw658v6qOTRMo5AiF cKUPl6WeEo1T7eLsQT1CKaI782s1VWjDef1dbbrwgXnS2R+8xTYRfTPTxOaTh7z6Dg1Wo9 P/YazrJCUUBnvon9nlYJ0rPuhJsi/ov1YpAanCZgmWHPiUPJ5ISCCzlprr/5ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683987898; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=boAGYRYiaPGzakjUi+rrEqa8zicIhOBdci3hAgVNPuU=; b=k7KoJlYG3fV/IgCoXINrzx5C2cNIK9zq5sjaymSZlsK9lb5qQmVLvj+E0A9GLAM6klsU2L 0gvkdaFqFh1vEND4CHqGGN2ikjZnCkhodpASzMwF04txUg9CsDdsmUsZQbdOHW02/dDDki Hfz2c1fvezGCz8+iO9Domjyqcaph935MkmuejXnvxeEawgdIOWB0UMz2cNNE3i4Pz7aPw9 9alY4Cg2RHxPwLqGO2Kn8tDuT647ajkTbW4hNytHr50EjdJl9y4KOW+822wa0zMp48Ss7a JYEMUjrrDUh19uqgcNvQe24sz79Ne2DvuJJLlS6w17b1PpJSvjHgmL/rAgT8gQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683987898; a=rsa-sha256; cv=none; b=aEKcrv+1En8sepIvW7nb+NenilNRPxuyakk73V8BTPHy3CoSk6uehuvYtRSh1W2VB6fPSM IIv29eHCS9rZDiMzF58o+Ex26NTBBRkA5StOPAtuua6wssUU3P4qyFyz168JM1A0HlQofi pQPlYSzFUtXx93n/TTEnL6cadnGmuwnG3Z3B4NlEe9ByP8TBg0Wkd30uwDA+3M0jagbpUm 9VQcARTyKHSRsX8XfoHEatDJ0sggu5nVBF+TYYVy0H6+B/DT+dvFZAvYQ4by73fudTcg8Z jDGf0IOEPGcqgI2uUEVgRvh7CjNo6iwv7PjE7DZjvm/rDhMbtWZpTu1baRwA7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QJSZf2qvRzL8x; Sat, 13 May 2023 14:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34DEOwLP001093; Sat, 13 May 2023 14:24:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34DEOwcL001092; Sat, 13 May 2023 14:24:58 GMT (envelope-from git) Date: Sat, 13 May 2023 14:24:58 GMT Message-Id: <202305131424.34DEOwcL001092@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 764d261d105e - main - textproc/jshon: Unbreak on HEAD List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 764d261d105e33cda5b486e7ad8d7ce957430320 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=764d261d105e33cda5b486e7ad8d7ce957430320 commit 764d261d105e33cda5b486e7ad8d7ce957430320 Author: Muhammad Moinur Rahman AuthorDate: 2023-05-13 14:14:24 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-05-13 14:24:17 +0000 textproc/jshon: Unbreak on HEAD Approved by: portmgr (blanket) --- textproc/jshon/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/textproc/jshon/Makefile b/textproc/jshon/Makefile index a924222772cc..ce3d55ee3778 100644 --- a/textproc/jshon/Makefile +++ b/textproc/jshon/Makefile @@ -24,6 +24,12 @@ OPTIONS_DEFAULT= ZSH ZSH_PLIST_FILES= share/zsh/site-functions/jshon_zsh_completion +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=strict-prototypes +.endif + pre-configure: @${REINPLACE_CMD} -e 's|^\(#define JSHONVER \).*|\1"${PORTVERSION}-${GH_TAGNAME}"|' \ -e 's|\({printf("%\)i\(\\n", JSHONVER); exit(0);}\)|\1s\2|' \ @@ -37,4 +43,4 @@ post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/jshon_zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ -.include +.include