pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/cim Fixed invalid lvalue.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fee88ecd1dd
branches:  trunk
changeset: 535968:3fee88ecd1dd
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 30 20:30:22 2007 +0000

description:
Fixed invalid lvalue.

diffstat:

 lang/cim/distinfo         |   3 ++-
 lang/cim/patches/patch-ac |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r ad5add8074eb -r 3fee88ecd1dd lang/cim/distinfo
--- a/lang/cim/distinfo Fri Nov 30 20:09:36 2007 +0000
+++ b/lang/cim/distinfo Fri Nov 30 20:30:22 2007 +0000
@@ -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 -r ad5add8074eb -r 3fee88ecd1dd lang/cim/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/cim/patches/patch-ac Fri Nov 30 20:30:22 2007 +0000
@@ -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)                                       \



Home | Main Index | Thread Index | Old Index