Received: by mail.netbsd.org (Postfix, from userid 605) id 4034784D3D; Sat, 22 Jul 2017 17:44:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C7F4484D39 for ; Sat, 22 Jul 2017 17:44:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id rEGqqZhmcdDB for ; Sat, 22 Jul 2017 17:44:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 592BC84D36 for ; Sat, 22 Jul 2017 17:44:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5457BFACD; Sat, 22 Jul 2017 17:44:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1500745480266160" MIME-Version: 1.0 Date: Sat, 22 Jul 2017 17:44:40 +0000 From: "Maya Rashish" Subject: CVS commit: pkgsrc/inputmethod/canna To: pkgsrc-changes@NetBSD.org Reply-To: maya@netbsd.org X-Mailer: log_accum Message-Id: <20170722174440.5457BFACD@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1500745480266160 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: maya Date: Sat Jul 22 17:44:40 UTC 2017 Modified Files: pkgsrc/inputmethod/canna: distinfo Added Files: pkgsrc/inputmethod/canna/patches: patch-lib_canna_lisp.c Log Message: Don't provide a declaration of fgets and gets in a function. stdio.h is enough. fixes build failure with ssp/fortify To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/inputmethod/canna/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/inputmethod/canna/patches/patch-lib_canna_lisp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1500745480266160 Content-Disposition: inline Content-Length: 1593 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/inputmethod/canna/distinfo diff -u pkgsrc/inputmethod/canna/distinfo:1.15 pkgsrc/inputmethod/canna/distinfo:1.16 --- pkgsrc/inputmethod/canna/distinfo:1.15 Wed Nov 4 17:41:19 2015 +++ pkgsrc/inputmethod/canna/distinfo Sat Jul 22 17:44:40 2017 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2015/11/04 17:41:19 agc Exp $ +$NetBSD: distinfo,v 1.16 2017/07/22 17:44:40 maya Exp $ SHA1 (Canna37p3.tar.bz2) = e39eece7c70c669dd46dd74b26121a60a2496fde RMD160 (Canna37p3.tar.bz2) = 33e5eb9e2dc144835db838612897e652acbc60ed @@ -22,3 +22,4 @@ SHA1 (patch-lib_RKC_convert.c) = f196cfa SHA1 (patch-lib_RK_dd.c) = 8055a2a3902e7d4d0cc1d782295c2879311750ec SHA1 (patch-lib_RK_ncache.c) = e792592500e7db85a6b2370c4ea9eb533d97bda0 SHA1 (patch-lib_canna_keydef.c) = af14140f58bf8a6214a7fb9d5d73347c1b3cdd85 +SHA1 (patch-lib_canna_lisp.c) = 0ed74a04406ab21fb88ef94b182cff2ff3c793ef Added files: Index: pkgsrc/inputmethod/canna/patches/patch-lib_canna_lisp.c diff -u /dev/null pkgsrc/inputmethod/canna/patches/patch-lib_canna_lisp.c:1.1 --- /dev/null Sat Jul 22 17:44:40 2017 +++ pkgsrc/inputmethod/canna/patches/patch-lib_canna_lisp.c Sat Jul 22 17:44:40 2017 @@ -0,0 +1,16 @@ +$NetBSD: patch-lib_canna_lisp.c,v 1.1 2017/07/22 17:44:40 maya Exp $ + +Don't provide a declaration of gets and fgets +we're including stdio.h + +--- lib/canna/lisp.c.orig 2004-04-26 22:49:21.000000000 +0000 ++++ lib/canna/lisp.c +@@ -1355,8 +1355,6 @@ int c; + static int + tyi() + { +- char *gets(), *fgets(); +- + if (untyibuf) { + int ret = untyibuf[--untyip]; + if (untyip == 0) { --_----------=_1500745480266160--