summaryrefslogtreecommitdiff
path: root/graphics/magicpoint/patches
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-04-07 23:11:56 +0000
committerhira <hira@pkgsrc.org>2005-04-07 23:11:56 +0000
commit1ec987a42e77c91fb1aadc01b4fe0a82840f3d7d (patch)
tree02aa46b0de249c5b339cc649a9e02ed38c54e622 /graphics/magicpoint/patches
parentd9e6180432cfb857e07df827986af9d86094f638 (diff)
downloadpkgsrc-1ec987a42e77c91fb1aadc01b4fe0a82840f3d7d.tar.gz
Use size_t for the third and fifth arguments of the iconv(3).
Fix core dump on amd64. Bump PKGREVISION.
Diffstat (limited to 'graphics/magicpoint/patches')
-rw-r--r--graphics/magicpoint/patches/patch-ae12
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/magicpoint/patches/patch-ae b/graphics/magicpoint/patches/patch-ae
index f349178dd19..05bf14096f0 100644
--- a/graphics/magicpoint/patches/patch-ae
+++ b/graphics/magicpoint/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.1 2004/01/12 15:19:28 wennmach Exp $
+$NetBSD: patch-ae,v 1.2 2005/04/07 23:11:57 hira Exp $
--- draw.c.orig 2003-05-14 16:45:35.000000000 +0900
-+++ draw.c 2003-11-25 08:03:15.000000000 +0900
-@@ -4498,7 +4498,7 @@
++++ draw.c 2005-04-08 07:31:28.000000000 +0900
+@@ -4498,12 +4498,12 @@
struct ctrl *cp;
char *fontname = NULL;
int i;
@@ -11,6 +11,12 @@ $NetBSD: patch-ae,v 1.1 2004/01/12 15:19:28 wennmach Exp $
static char rtab[3][20] = { "jisx208", "gb2312", "ksc5601"};
static char prefix[3][20] = { "\033$B", "\033$A", "\033$(C"};
char buf16[1024], *p16;
+ char out16[1024], *o16;
+- int ileft, oleft;
++ size_t ileft, oleft;
+ #ifdef HAVE_ICONV
+ static iconv_t icv[3];
+ #endif
@@ -4529,8 +4529,8 @@
}
if (i == 3) return NULL; /* cannot find codeset */