diff options
author | minskim <minskim> | 2006-06-21 15:00:51 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-06-21 15:00:51 +0000 |
commit | bb304f257226900a4e5deed56c0a741dcca9df3c (patch) | |
tree | 3ad13bd8fceb6913f167d454624f033f9d13a03a /converters/cn2jp/patches | |
parent | c1a5afad7ec6200226af123b9c28ca68a0916ba4 (diff) | |
download | pkgsrc-bb304f257226900a4e5deed56c0a741dcca9df3c.tar.gz |
Remove conflicting declaration of malloc(); include stdlib.h instead.
Diffstat (limited to 'converters/cn2jp/patches')
-rw-r--r-- | converters/cn2jp/patches/patch-ad | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/converters/cn2jp/patches/patch-ad b/converters/cn2jp/patches/patch-ad new file mode 100644 index 00000000000..3cdee85d115 --- /dev/null +++ b/converters/cn2jp/patches/patch-ad @@ -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 * |