summaryrefslogtreecommitdiffstats
path: root/mail/evolution/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/evolution/files')
-rw-r--r--mail/evolution/files/patch-aa45
-rw-r--r--mail/evolution/files/patch-mail_em-migrate.c11
-rw-r--r--mail/evolution/files/patch-mail_em-utils.h10
-rw-r--r--mail/evolution/files/patch-widgets_e-timezone-dialog_e-timezone-dialog.c34
4 files changed, 100 insertions, 0 deletions
diff --git a/mail/evolution/files/patch-aa b/mail/evolution/files/patch-aa
new file mode 100644
index 000000000..ef43e24cd
--- /dev/null
+++ b/mail/evolution/files/patch-aa
@@ -0,0 +1,45 @@
+--- configure.orig 2007-10-28 12:24:23.000000000 -0500
++++ configure 2007-10-28 12:26:19.000000000 -0500
+@@ -23831,6 +23831,16 @@
+ SOFTOKN3_LIB=''
+ HAL_REQUIREMENT=''
+ ;;
++*freebsd*) os_win32=no
++ NO_UNDEFINED=''
++ SOCKET_LIBS=''
++ SOEXT='.so'
++ SA_JUNK_PLUGIN=sa-junk-plugin
++ BF_JUNK_PLUGIN=bogo-junk-plugin
++ DL_LIB=''
++ SOFTOKN3_LIB='-lsoftokn3'
++ HAL_REQUIREMENT='hal'
++ ;;
+ *) os_win32=no
+ NO_UNDEFINED=''
+ SOEXT='.so'
+@@ -25449,6 +25459,7 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <netdb.h>
++ #include <stdio.h>
+
+ #define BUFSIZE (sizeof(struct hostent)+10)
+
+@@ -29382,7 +29393,7 @@
+ LDFLAGS_save="$LDFLAGS"
+
+ mitlibs="-lkrb5 -lk5crypto -lcom_err -lgssapi_krb5"
+- heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi"
++ heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi -lcrypt"
+ sunlibs="-lkrb5 -lgss"
+ { echo "$as_me:$LINENO: checking for Kerberos 5" >&5
+ echo $ECHO_N "checking for Kerberos 5... $ECHO_C" >&6; }
+@@ -37936,7 +37947,7 @@
+ idldir='${datadir}'/idl/evolution-$BASE_VERSION
+
+
+-serverdir="$libdir/bonobo/servers"
++serverdir="$prefix/libdata/bonobo/servers"
+
+
+ evolutionuidir="$privdatadir/ui"
diff --git a/mail/evolution/files/patch-mail_em-migrate.c b/mail/evolution/files/patch-mail_em-migrate.c
new file mode 100644
index 000000000..6aa2e9a13
--- /dev/null
+++ b/mail/evolution/files/patch-mail_em-migrate.c
@@ -0,0 +1,11 @@
+--- mail/em-migrate.c.orig Tue Dec 21 15:09:30 2004
++++ mail/em-migrate.c Tue Dec 21 15:09:46 2004
+@@ -1447,7 +1447,7 @@
+ ut.actime = st.st_atime;
+ ut.modtime = st.st_mtime;
+ utime (dest, &ut);
+- chmod (dest, st.st_mode);
++ chmod (dest, st.st_mode | S_IWUSR);
+
+ return 0;
+
diff --git a/mail/evolution/files/patch-mail_em-utils.h b/mail/evolution/files/patch-mail_em-utils.h
new file mode 100644
index 000000000..b3e7b9ffb
--- /dev/null
+++ b/mail/evolution/files/patch-mail_em-utils.h
@@ -0,0 +1,10 @@
+--- mail/em-utils.h.orig Tue Aug 3 16:59:46 2004
++++ mail/em-utils.h Tue Aug 3 17:00:04 2004
+@@ -23,6 +23,7 @@
+ #ifndef __EM_UTILS_H__
+ #define __EM_UTILS_H__
+
++#include <sys/types.h>
+ #include <glib.h>
+
+ #ifdef __cplusplus
diff --git a/mail/evolution/files/patch-widgets_e-timezone-dialog_e-timezone-dialog.c b/mail/evolution/files/patch-widgets_e-timezone-dialog_e-timezone-dialog.c
new file mode 100644
index 000000000..a64407192
--- /dev/null
+++ b/mail/evolution/files/patch-widgets_e-timezone-dialog_e-timezone-dialog.c
@@ -0,0 +1,34 @@
+--- widgets/e-timezone-dialog/e-timezone-dialog.c.orig Mon Jul 10 21:50:12 2006
++++ widgets/e-timezone-dialog/e-timezone-dialog.c Mon Jul 10 22:11:54 2006
+@@ -80,7 +80,9 @@ struct _ETimezoneDialogPrivate {
+
+ #ifndef G_OS_WIN32 /* Declared properly in time.h already */
+ extern char *tzname[2];
++#ifndef __BSD_VISIBLE
+ extern long timezone;
++#endif
+ extern int daylight;
+ #endif
+
+@@ -317,9 +319,20 @@ static const icaltimezone*
+ get_local_timezone()
+ {
+ icaltimezone *zone;
++ long offset;
++#ifdef __BSD_VISIBLE
++ time_t tt;
++ struct tm tm;
++#endif
+
+ tzset();
+- zone = icaltimezone_get_builtin_timezone_from_offset (-timezone, tzname[0]);
++#ifdef __BSD_VISIBLE
++ localtime_r (&tt, &tm);
++ offset = tm.tm_gmtoff;
++#else
++ offset = -timezone;
++#endif
++ zone = icaltimezone_get_builtin_timezone_from_offset (offset, tzname[0]);
+
+ return zone;
+ }