pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/cn2jp Remove conflicting declaration of mal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51ec6f178589
branches:  trunk
changeset: 514971:51ec6f178589
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jun 21 15:00:51 2006 +0000

description:
Remove conflicting declaration of malloc(); include stdlib.h instead.

diffstat:

 converters/cn2jp/distinfo         |   3 ++-
 converters/cn2jp/patches/patch-ad |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r a647a3ddb47c -r 51ec6f178589 converters/cn2jp/distinfo
--- a/converters/cn2jp/distinfo Wed Jun 21 14:58:57 2006 +0000
+++ b/converters/cn2jp/distinfo Wed Jun 21 15:00:51 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2006/01/11 16:02:24 joerg Exp $
+$NetBSD: distinfo,v 1.4 2006/06/21 15:00:51 minskim Exp $
 
 SHA1 (cn2jp1.4b.tar.gz) = 09cee0b189e5925a5378f1f817cc9593be899518
 RMD160 (cn2jp1.4b.tar.gz) = 7697648e23586a0fba0d840ba57cf816c175ac10
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = a1b67afbc36161b2731a938d81e19af2c9fba7dd
 SHA1 (patch-ab) = a5a43c0dd84515a5c8b7d0cacc9a49b9b378a8e1
 SHA1 (patch-ac) = b601a2893b8a94374e4b4271be49f87ee244ae53
+SHA1 (patch-ad) = 4c568df93470c404f12e4221fbb64c532ff18c6b
diff -r a647a3ddb47c -r 51ec6f178589 converters/cn2jp/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/cn2jp/patches/patch-ad Wed Jun 21 15:00:51 2006 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2006/06/21 15:00:51 minskim Exp $
+
+--- lib/jp-util.c.orig 1996-02-27 04:18:39.000000000 +0000
++++ lib/jp-util.c
+@@ -38,11 +38,10 @@ History:
+       930923  extracted from codeconv.c of cosmos
+ ///////////////////////////////////////////////////////////////////////*/
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include "jp-util.h"
+ 
+-char *malloc();
+-
+ int TREAT_SJIS = 1;
+ 
+ unsigned char *



Home | Main Index | Thread Index | Old Index