diff options
author | rillig <rillig> | 2007-11-30 20:30:22 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-30 20:30:22 +0000 |
commit | 73bd7f752ad726aba4c635541cb01513509be893 (patch) | |
tree | 44bad4c27e8f2d929d64a12fda50f285785e391b /lang | |
parent | 2d5144978878f802b61fe090b1b6273089baee04 (diff) | |
download | pkgsrc-73bd7f752ad726aba4c635541cb01513509be893.tar.gz |
Fixed invalid lvalue.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/cim/distinfo | 3 | ||||
-rw-r--r-- | lang/cim/patches/patch-ac | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/cim/distinfo b/lang/cim/distinfo index 47c78aaf182..86519fa3440 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 00000000000..0f97f567069 --- /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) \ |