Date: Thu, 21 Dec 2023 01:50:36 GMT From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 28532c2d3dc4 - main - japanese/newosaka: Fix build on 13, 14 Message-ID: <202312210150.3BL1oaAq079622@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=28532c2d3dc43b914a24c4cae2b0cf549b78aee3 commit 28532c2d3dc43b914a24c4cae2b0cf549b78aee3 Author: Koichiro Iwao <meta@FreeBSD.org> AuthorDate: 2023-12-21 01:44:46 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2023-12-21 01:44:46 +0000 japanese/newosaka: Fix build on 13, 14 PR: 275793 Reported by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp> --- 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312210150.3BL1oaAq079622>