$NetBSD: patch-ac,v 1.4.2.2 2009/04/17 14:48:45 tron Exp $

Fix crashes in the NetBSD macppc CD-ROM build.

--- libsiconv/sic_nls.c.orig	2009-04-16 18:07:14.000000000 +0200
+++ libsiconv/sic_nls.c
@@ -456,10 +456,10 @@ dup_iconv_sic(sip)
 		return ((siconvt_t *)NULL);
 	}
 	sp->sic_name = nm;	/* Allow to compare name pointers */
-	sip->sic_uni2cs = NULL;
-	sip->sic_cs2uni = NULL;
-	sip->sic_cd2uni = from;
-	sip->sic_uni2cd = to;
+	sp->sic_uni2cs = NULL;
+	sp->sic_cs2uni = NULL;
+	sp->sic_cd2uni = from;
+	sp->sic_uni2cd = to;
 	sp->sic_alt    = NULL;
 	sp->sic_next   = NULL;
 	sip->sic_alt = sp;
