[Bug 275793] fix for japanese/newosaka
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275793] fix for japanese/newosaka"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Dec 2023 19:38:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275793 --- Comment #1 from Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp> --- diff -urN newosaka-backup/Makefile newosaka-work/Makefile --- Makefile.orig +++ Makefile 2023-12-17 03:35:25.556354000 +0900 @@ -7,11 +7,6 @@ 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 -urN newosaka-backup/files/patch-osaka.c newosaka-work/files/patch-osaka.c --- files/patch-osaka.c +++ files/patch-osaka.c 2023-12-17 04:02:58.824253000 +0900 @@ -0,0 +1,11 @@ +--- osaka.c.orig ++++ osaka.c +@@ -11,7 +11,7 @@ + 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; -- You are receiving this mail because: You are the assignee for the bug.