diff options
author | sketch <sketch@pkgsrc.org> | 2004-11-18 14:20:26 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2004-11-18 14:20:26 +0000 |
commit | 2ebe388a0925a2db1db7191c24ac7c6dd23f20e5 (patch) | |
tree | 23b71cb1e01ce1fdeb6ccb8f1fe2c5c947dea5df /mail/evolution-data-server/patches | |
parent | 4c36ecdca9d32df516dfd30447840f2f803c700c (diff) | |
download | pkgsrc-2ebe388a0925a2db1db7191c24ac7c6dd23f20e5.tar.gz |
Apply some minor tweaks to get this package compiling with SunPro and possibly
other non-gcc compilers.
Diffstat (limited to 'mail/evolution-data-server/patches')
-rw-r--r-- | mail/evolution-data-server/patches/patch-af | 13 | ||||
-rw-r--r-- | mail/evolution-data-server/patches/patch-ag | 13 | ||||
-rw-r--r-- | mail/evolution-data-server/patches/patch-ah | 14 | ||||
-rw-r--r-- | mail/evolution-data-server/patches/patch-ai | 14 | ||||
-rw-r--r-- | mail/evolution-data-server/patches/patch-aj | 13 |
5 files changed, 67 insertions, 0 deletions
diff --git a/mail/evolution-data-server/patches/patch-af b/mail/evolution-data-server/patches/patch-af new file mode 100644 index 00000000000..b3b255e4d94 --- /dev/null +++ b/mail/evolution-data-server/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2004/11/18 14:20:26 sketch Exp $ + +--- config.h.in.orig 2004-11-13 22:06:01.870247000 +0000 ++++ config.h.in 2004-11-13 22:07:10.887923000 +0000 +@@ -99,3 +99,8 @@ + #ifndef __cplusplus + #undef inline + #endif ++ ++/* __PRETTY_FUNCTION__ is a GNUism only */ ++#ifndef __GNUC__ ++#define __PRETTY_FUNCTION__ __func__ ++#endif diff --git a/mail/evolution-data-server/patches/patch-ag b/mail/evolution-data-server/patches/patch-ag new file mode 100644 index 00000000000..4b6afccf524 --- /dev/null +++ b/mail/evolution-data-server/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2004/11/18 14:20:26 sketch Exp $ + +--- calendar/libedata-cal/e-cal-backend.c.orig 2004-11-14 07:43:27.517476000 +0000 ++++ calendar/libedata-cal/e-cal-backend.c 2004-11-14 07:44:07.683122000 +0000 +@@ -732,7 +732,7 @@ + g_return_if_fail (E_IS_CAL_BACKEND (backend)); + + g_assert (CLASS (backend)->get_object_list != NULL); +- return (* CLASS (backend)->get_object_list) (backend, cal, sexp); ++ (* CLASS (backend)->get_object_list) (backend, cal, sexp); + } + + /** diff --git a/mail/evolution-data-server/patches/patch-ah b/mail/evolution-data-server/patches/patch-ah new file mode 100644 index 00000000000..127a4bfd7c3 --- /dev/null +++ b/mail/evolution-data-server/patches/patch-ah @@ -0,0 +1,14 @@ +$NetBSD: patch-ah,v 1.1 2004/11/18 14:20:26 sketch Exp $ + +--- ./calendar/backends/file/e-cal-backend-file-events.c.orig 2003-11-03 18:24:02.000000000 +0000 ++++ ./calendar/backends/file/e-cal-backend-file-events.c 2004-11-18 07:42:17.178309000 +0000 +@@ -30,6 +30,9 @@ + + /* Private part of the CalBackendFileEvents structure */ + struct _ECalBackendFileEventsPrivate { ++#if defined(__SUNPRO_C) ++ unsigned char a_variable_to_avoid_empty_struct; ++#endif + }; + + diff --git a/mail/evolution-data-server/patches/patch-ai b/mail/evolution-data-server/patches/patch-ai new file mode 100644 index 00000000000..f541b4c1acc --- /dev/null +++ b/mail/evolution-data-server/patches/patch-ai @@ -0,0 +1,14 @@ +$NetBSD: patch-ai,v 1.1 2004/11/18 14:20:26 sketch Exp $ + +--- ./calendar/backends/file/e-cal-backend-file-todos.c.orig 2003-11-03 18:24:02.000000000 +0000 ++++ ./calendar/backends/file/e-cal-backend-file-todos.c 2004-11-18 07:43:17.101414000 +0000 +@@ -26,6 +26,9 @@ + + /* Private part of the ECalBackendFileTodos structure */ + struct _ECalBackendFileTodosPrivate { ++#if defined(__SUNPRO_C) ++ unsigned char a_variable_to_avoid_empty_struct; ++#endif + }; + + diff --git a/mail/evolution-data-server/patches/patch-aj b/mail/evolution-data-server/patches/patch-aj new file mode 100644 index 00000000000..3a39f3011d6 --- /dev/null +++ b/mail/evolution-data-server/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2004/11/18 14:20:26 sketch Exp $ + +--- ./calendar/backends/groupwise/e-cal-backend-groupwise-utils.c.orig 2004-11-17 16:08:49.662762000 +0000 ++++ ./calendar/backends/groupwise/e-cal-backend-groupwise-utils.c 2004-11-17 16:10:43.269896000 +0000 +@@ -614,7 +614,7 @@ + alarm = e_cal_component_alarm_new (); + e_cal_component_alarm_set_action (alarm, E_CAL_COMPONENT_ALARM_DISPLAY); + trigger.type = E_CAL_COMPONENT_ALARM_TRIGGER_RELATIVE_START; +- trigger.u.rel_duration = (struct icaldurationtype) icaldurationtype_from_int (alarm_duration); ++ trigger.u.rel_duration = icaldurationtype_from_int (alarm_duration); + e_cal_component_alarm_set_trigger (alarm, trigger); + e_cal_component_add_alarm (comp, alarm); + } |