SOURCES: libmcal-gcc4.patch (NEW) - from gentoo
arekm
arekm at pld-linux.org
Thu Aug 10 09:40:29 CEST 2006
Author: arekm Date: Thu Aug 10 07:40:29 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- from gentoo
---- Files affected:
SOURCES:
libmcal-gcc4.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libmcal-gcc4.patch
diff -u /dev/null SOURCES/libmcal-gcc4.patch:1.1
--- /dev/null Thu Aug 10 09:40:29 2006
+++ SOURCES/libmcal-gcc4.patch Thu Aug 10 09:40:24 2006
@@ -0,0 +1,34 @@
+diff -urN ../libmcal-/icap/icap.c ./icap/icap.c
+--- ../libmcal/icap/icap.c 2003-01-28 18:31:33.000000000 +0100
++++ ./icap/icap.c 2005-08-12 15:04:36.000000000 +0200
+@@ -159,7 +159,7 @@
+ if (!reopen) {
+ if ((stream = calloc(1, sizeof(*stream))) == NULL)
+ goto fail;
+- if ((DATA = calloc(1, sizeof(*DATA))) == NULL)
++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL)
+ goto fail;
+
+ /* Copy host. */
+diff -urN ../libmcal/mstore/mstore.c ./mstore/mstore.c
+--- ../libmcal/mstore/mstore.c 2005-08-12 15:30:52.000000000 +0200
++++ ./mstore/mstore.c 2005-08-12 15:31:38.000000000 +0200
+@@ -308,7 +308,7 @@
+ if (!reopen) {
+ if ((stream = calloc(1, sizeof(*stream))) == NULL)
+ goto fail;
+- if ((DATA = calloc(1, sizeof(*DATA))) == NULL)
++ if ((stream->data = calloc(1, sizeof(*DATA))) == NULL)
+ goto fail;
+ }
+
+@@ -773,7 +773,7 @@
+ while((event=read_event(calfile))) {
+ if (event->id == modified_event->id)
+ {
+- (const CALEVENT*)event = modified_event;
++ event = modified_event;
+ /*is more required here to assign objects, a loop through all the properties*/
+ /* We actually only want to modify any individual property, not the whole thing..
+ TODO */
+
================================================================
More information about the pld-cvs-commit
mailing list