pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/inputmethod/canna



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.

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) {



Home | Main Index | Thread Index | Old Index