From nobody Thu Dec 21 01:50:36 2023 X-Original-To: dev-commits-ports-all@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 4SwYKm6M0yz55ZjM; Thu, 21 Dec 2023 01:50:36 +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 4SwYKm5vmFz4L4m; Thu, 21 Dec 2023 01:50:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703123436; 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=KK9GE8ikIi+OifU1IU4NIJ6KITP1/eWXejI+MUp3IJ0=; b=wEKE9TwTcV/a/HJzkIYqUQvRGlvDWlka2gl4EeuLBGYVfm3GT7ggHJescHJz4l42nN+N/j b0p9Bj517iAZ1zlkUguX9zpEvTkvIQxDJxFU2LNevzDfEXB3fyH/LZZlF7YTxD453APoLe HXZjDJUJO17tXB4U7g/SruwBFV0q960jlv8b+xD3JH0dXxt5C3Fuv3nx4xXCKQTUgxKob0 U2Uu+1ad/0mzHQaDGO24ctyQmK1A9ma8v2ION94E4g/Y2905z0cU1oLX9MiU8U8fyxHtGr ZLgsXtoMOcx5I1/pCQzb4yZXgVD2oU3gvDeL+bqBFbZ9cZ9IgrqLZTH4U905zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703123436; a=rsa-sha256; cv=none; b=cielk7lFd5pKLHIQSNT5rnUlJVrG31xXNyrs/7iu4e8v7EToscCNYkYUv3es314DMCeQsK Z7HUSL85zwt88FoO5vvYgP+cWO3zAzidUBB9gEEGOB74fP1ATxVJfMFOFzAAz8uNSCGyTz hC37FW2Zfi8XZ8mrmW/4q08eNQw695QmsWJDagYJb+F7qxmJUmNKkvvGiI2U1OoqVHbff+ Jrct6MnJ1/lWE7CsMOSN8y/spCdSOf1+c1RnI1S4/zGMJdl1j0mc/djHjrUSZUsc6xXYDN aK2cGccKm8OlyS0BXFalw7zj7KuM6IoVGH74jdguFPAYTWxdxK0T8X6427B+lQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703123436; 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=KK9GE8ikIi+OifU1IU4NIJ6KITP1/eWXejI+MUp3IJ0=; b=ZJu23u7N3WtxSOMDAO8C+RVdUG/jpy2yNBDFVu6GPv9Acq4iGlikMgvNFsysN8dRiG1E1T ZSxGM6ykZ/J4b9wJM5l/LNTR/A3s4RVtaOlWuJ0m35Ahov0bp+BMDruv+rx+Ng3YInlFme a4MGLE4bubSbr7lAF4qypCpAFhou2RmTv1u6+77S6tfNiZTV/wcdp8ktHGHg9e9Ejy2MQ1 F8u+hlnBLI9duxIFULw5tjyx8cOVPNAWCR9wA8f8HKE5Ilz24X/QuHxzOG9hJlmkdZndua tfrQhw0ReMCLNSR3if1OYKhmgSDh5qmDc4mS8tUqHU897OqrHHyPy2mEepgzBg== 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 4SwYKm4sRlz1CTT; Thu, 21 Dec 2023 01:50:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BL1oajS079625; Thu, 21 Dec 2023 01:50:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BL1oaAq079622; Thu, 21 Dec 2023 01:50:36 GMT (envelope-from git) Date: Thu, 21 Dec 2023 01:50:36 GMT Message-Id: <202312210150.3BL1oaAq079622@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: 28532c2d3dc4 - main - japanese/newosaka: Fix build on 13, 14 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 28532c2d3dc43b914a24c4cae2b0cf549b78aee3 Auto-Submitted: auto-generated The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=28532c2d3dc43b914a24c4cae2b0cf549b78aee3 commit 28532c2d3dc43b914a24c4cae2b0cf549b78aee3 Author: Koichiro Iwao AuthorDate: 2023-12-21 01:44:46 +0000 Commit: Koichiro Iwao CommitDate: 2023-12-21 01:44:46 +0000 japanese/newosaka: Fix build on 13, 14 PR: 275793 Reported by: Yoshiaki Uchikawa --- japanese/newosaka/Makefile | 5 ----- japanese/newosaka/files/patch-osaka.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/japanese/newosaka/Makefile b/japanese/newosaka/Makefile index 2b885d1f1af3..cffb8d5c0c87 100644 --- a/japanese/newosaka/Makefile +++ b/japanese/newosaka/Makefile @@ -7,11 +7,6 @@ DISTFILES= new-osaka.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= Translator of Japanese EUC documents into Osaka language -DEPRECATED= BROKEN on all supported versions for more than 4 years after the EOL of 12 -EXPIRATION_DATE= 2023-12-31 -BROKEN_FreeBSD_13= ld: error: undefined symbol: gets -BROKEN_FreeBSD_14= ld: error: undefined symbol: gets - PLIST_FILES= bin/osaka WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/japanese/newosaka/files/patch-osaka.c b/japanese/newosaka/files/patch-osaka.c new file mode 100644 index 000000000000..cb4775aeba9b --- /dev/null +++ b/japanese/newosaka/files/patch-osaka.c @@ -0,0 +1,11 @@ +--- osaka.c.orig 1996-05-18 15:47:59 UTC ++++ osaka.c +@@ -11,7 +11,7 @@ char **argv; + char inbuf[8192], outbuf[8400]; + char inmoji, henmoji; + +- while(gets(inbuf) != NULL) ++ while(fgets(inbuf, sizeof(inbuf), stdin) != NULL) + { + inmoji = inbuf[0]; + inmoji2 = (unsigned long)inmoji & 0x0ff;