diff --git a/lang/cim/distinfo b/lang/cim/distinfo index 47c78aaf182a..86519fa3440e 100644 --- a/lang/cim/distinfo +++ b/lang/cim/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2006/04/04 16:53:59 jlam Exp $ +$NetBSD: distinfo,v 1.7 2007/11/30 20:30:22 rillig Exp $ SHA1 (cim-3.30.tar.gz) = 8636ac8d1eaee793769051af60140af80b82b22f RMD160 (cim-3.30.tar.gz) = d5c07046799dec8840c7c7d9f5c88e552a4c6432 Size (cim-3.30.tar.gz) = 416809 bytes SHA1 (patch-aa) = 6e20870f7bf0c2befdc0a73d00827606958e2931 SHA1 (patch-ab) = e5d14212cbc4fbf956ade6c8b68f1dcc92a0841a +SHA1 (patch-ac) = e63f63f906a968ef7dc8343e44235916eddf6574 diff --git a/lang/cim/patches/patch-ac b/lang/cim/patches/patch-ac new file mode 100644 index 000000000000..0f97f5670693 --- /dev/null +++ b/lang/cim/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2007/11/30 20:30:22 rillig Exp $ + +gcc4 complains about an invalid lvalue. + +--- src/obstack.h.orig 1998-09-12 16:59:34.000000000 +0200 ++++ src/obstack.h 2007-11-30 21:27:21.000000000 +0100 +@@ -417,7 +417,7 @@ __extension__ \ + ({ struct obstack *__o = (OBSTACK); \ + if (__o->next_free + sizeof (void *) > __o->chunk_limit) \ + _obstack_newchunk (__o, sizeof (void *)); \ +- *((void **)__o->next_free)++ = ((void *)datum); \ ++ *(*((void ***)&(__o->next_free)))++ = ((void *)datum); \ + (void) 0; }) + + #define obstack_int_grow(OBSTACK,datum) \