summaryrefslogtreecommitdiffstats
path: root/mail/evolution/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/evolution/files')
-rw-r--r--mail/evolution/files/patch-..::db-3.1.17::dist::Makefile.in44
-rw-r--r--mail/evolution/files/patch-..::db-3.1.17::dist::ltmain.sh28
-rw-r--r--mail/evolution/files/patch-aa46
-rw-r--r--mail/evolution/files/patch-camel::camel-store.h13
-rw-r--r--mail/evolution/files/patch-camel_camel-mime-utils.c11
-rw-r--r--mail/evolution/files/patch-libical_src_libical_icaltime.c106
-rw-r--r--mail/evolution/files/patch-ltmain.sh51
-rw-r--r--mail/evolution/files/patch-my-evolution::e-summary-preferences.c14
8 files changed, 313 insertions, 0 deletions
diff --git a/mail/evolution/files/patch-..::db-3.1.17::dist::Makefile.in b/mail/evolution/files/patch-..::db-3.1.17::dist::Makefile.in
new file mode 100644
index 000000000..fca93a861
--- /dev/null
+++ b/mail/evolution/files/patch-..::db-3.1.17::dist::Makefile.in
@@ -0,0 +1,44 @@
+
+$FreeBSD: ports/mail/evolution/files/patch-..::db-3.1.17::dist::Makefile.in,v 1.2 2003/06/11 06:16:16 marcus Exp $
+
+--- ../db-3.1.17/dist/Makefile.in.orig Tue Jul 18 18:37:57 2000
++++ ../db-3.1.17/dist/Makefile.in Fri Dec 14 16:49:51 2001
+@@ -34,11 +34,11 @@
+ libdb= libdb.a
+
+ libso_base= libdb
+-libso_linkname= $(libso_base)-$(SOVERSION).la
+-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
+-libso_target= $(libso_base)-$(SOVERSION).la
++libso_linkname= $(libso_base)$(SOMAJOR).la
++libso= $(libso_base)$(SOMAJOR).@SOSUFFIX@
++libso_target= $(libso_base)$(SOMAJOR).la
+ libso_default= $(libso_base).@SOSUFFIX@
+-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
++libso_major= $(libso_base)$(SOMAJOR).@SOSUFFIX@.1
+
+ ##################################################
+ # C++
+@@ -49,10 +49,10 @@
+ ##################################################
+ libcxx= libdb_cxx.a
+ libxso_base= libdb_cxx
+-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
+-libxso_target= $(libxso_base)-$(SOVERSION).la
++libxso= $(libxso_base)$(SOMAJOR).@SOSUFFIX@
++libxso_target= $(libxso_base)$(SOMAJOR).la
+ libxso_default= $(libxso_base).@SOSUFFIX@
+-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
++libxso_major= $(libxso_base)$(SOMAJOR).@SOSUFFIX@.1
+
+ ##################################################
+ # JAVA
+@@ -112,7 +112,7 @@
+ bindir= @bindir@
+ includedir=@includedir@
+ libdir= @libdir@
+-docdir= $(prefix)/docs
++docdir= $(prefix)/share/doc/db3
+
+ dmode= 755
+ emode= 555
diff --git a/mail/evolution/files/patch-..::db-3.1.17::dist::ltmain.sh b/mail/evolution/files/patch-..::db-3.1.17::dist::ltmain.sh
new file mode 100644
index 000000000..01759e163
--- /dev/null
+++ b/mail/evolution/files/patch-..::db-3.1.17::dist::ltmain.sh
@@ -0,0 +1,28 @@
+
+$FreeBSD: ports/mail/evolution/files/patch-..::db-3.1.17::dist::ltmain.sh,v 1.2 2003/06/11 06:16:16 marcus Exp $
+
+--- ../db-3.1.17/dist/ltmain.sh.orig Sun Jul 30 20:45:53 2000
++++ ../db-3.1.17/dist/ltmain.sh Fri Dec 14 19:32:11 2001
+@@ -2694,6 +2694,9 @@
+ # Absolute path.
+ rpath="$rpath$dir:"
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Relative path: add a thisdir entry.
+ rpath="$rpath\$thisdir/$dir:"
+@@ -3356,10 +3359,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/mail/evolution/files/patch-aa b/mail/evolution/files/patch-aa
new file mode 100644
index 000000000..786df3726
--- /dev/null
+++ b/mail/evolution/files/patch-aa
@@ -0,0 +1,46 @@
+--- configure.orig Mon Mar 10 12:01:16 2003
++++ configure Thu Mar 13 01:31:35 2003
+@@ -11148,7 +11148,7 @@
+ CPPFLAGS="$DB3_CFLAGS $CPPFLAGS"
+
+
+-for ac_header in db.h db3/db.h
++for ac_header in db3/db.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -11341,9 +11341,9 @@
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+
+-{ { echo "$as_me:$LINENO: error: Found db.h is not version $evolution_db_version" >&5
+-echo "$as_me: error: Found db.h is not version $evolution_db_version" >&2;}
+- { (exit 1); exit 1; }; }
++#{ { echo "$as_me:$LINENO: error: Found db.h is not version $evolution_db_version" >&5
++#echo "$as_me: error: Found db.h is not version $evolution_db_version" >&2;}
++# { (exit 1); exit 1; }; }
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+
+@@ -13495,10 +13495,10 @@
+ Example: --with-nspr-libs=/usr/lib" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+- nsprlibs="-ldl $with_nspr_libs/libplc4.a $with_nspr_libs/libplds4.a $with_nspr_libs/libnspr4.a $PTHREAD_LIB"
++ nsprlibs="$with_nspr_libs/libplc4.a $with_nspr_libs/libplds4.a $with_nspr_libs/libnspr4.a $PTHREAD_LIB"
+ fi
+ else
+- nsprlibs="-ldl -lplc4 -lplds4 -lnspr4 $PTHREAD_LIB"
++ nsprlibs="-lplc4 -lplds4 -lnspr4 $PTHREAD_LIB"
+ fi
+
+ echo "$as_me:$LINENO: checking for Mozilla nspr libraries" >&5
+@@ -16710,7 +16710,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-camel::camel-store.h b/mail/evolution/files/patch-camel::camel-store.h
new file mode 100644
index 000000000..0ab306f5a
--- /dev/null
+++ b/mail/evolution/files/patch-camel::camel-store.h
@@ -0,0 +1,13 @@
+
+$FreeBSD: ports/mail/evolution/files/patch-camel::camel-store.h,v 1.2 2003/06/11 06:16:16 marcus Exp $
+
+--- camel/camel-store.h 2001/09/04 16:45:47 1.1
++++ camel/camel-store.h 2001/09/04 16:46:32
+@@ -33,6 +33,7 @@
+ #pragma }
+ #endif /* __cplusplus }*/
+
++#include <sys/types.h>
+ #include <camel/camel-object.h>
+ #include <camel/camel-service.h>
+
diff --git a/mail/evolution/files/patch-camel_camel-mime-utils.c b/mail/evolution/files/patch-camel_camel-mime-utils.c
new file mode 100644
index 000000000..33111196a
--- /dev/null
+++ b/mail/evolution/files/patch-camel_camel-mime-utils.c
@@ -0,0 +1,11 @@
+--- camel/camel-mime-utils.c.orig Fri May 3 15:47:41 2002
++++ camel/camel-mime-utils.c Sun May 5 18:09:24 2002
+@@ -3388,6 +3388,8 @@
+ }
+ d(printf("named offset = %d\n", offset));
+ }
++
++ tm.tm_isdst = -1;
+
+ t = mktime(&tm);
+ #if defined(HAVE_TIMEZONE)
diff --git a/mail/evolution/files/patch-libical_src_libical_icaltime.c b/mail/evolution/files/patch-libical_src_libical_icaltime.c
new file mode 100644
index 000000000..6f24e0f4c
--- /dev/null
+++ b/mail/evolution/files/patch-libical_src_libical_icaltime.c
@@ -0,0 +1,106 @@
+--- libical/src/libical/icaltime.c.orig Tue Aug 26 20:25:02 2003
++++ libical/src/libical/icaltime.c Tue Aug 26 20:29:05 2003
+@@ -46,6 +46,76 @@
+
+ #include "icaltimezone.h"
+
++static time_t make_time(struct tm *tm, int tzm)
++{
++ time_t tim;
++
++ static int days[] = { -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364 };
++
++ /* check that year specification within range */
++
++ if (tm->tm_year < 70 || tm->tm_year > 138)
++ return((time_t) -1);
++
++ /* check that month specification within range */
++
++ if (tm->tm_mon < 0 || tm->tm_mon > 11)
++ return((time_t) -1);
++
++ /* check for upper bound of Jan 17, 2038 (to avoid possibility of
++ 32-bit arithmetic overflow) */
++
++ if (tm->tm_year == 138) {
++ if (tm->tm_mon > 0)
++ return((time_t) -1);
++ else if (tm->tm_mday > 17)
++ return((time_t) -1);
++ }
++
++ /*
++ * calculate elapsed days since start of the epoch (midnight Jan
++ * 1st, 1970 UTC) 17 = number of leap years between 1900 and 1970
++ * (number of leap days to subtract)
++ */
++
++ tim = (tm->tm_year - 70) * 365 + ((tm->tm_year - 1) / 4) - 17;
++
++ /* add number of days elapsed in the current year */
++
++ tim += days[tm->tm_mon];
++
++ /* check and adjust for leap years (the leap year check only valid
++ during the 32-bit era */
++
++ if ((tm->tm_year & 3) == 0 && tm->tm_mon > 1)
++ tim += 1;
++
++ /* elapsed days to current date */
++
++ tim += tm->tm_mday;
++
++
++ /* calculate elapsed hours since start of the epoch */
++
++ tim = tim * 24 + tm->tm_hour;
++
++ /* calculate elapsed minutes since start of the epoch */
++
++ tim = tim * 60 + tm->tm_min;
++
++ /* adjust per time zone specification */
++
++ tim -= tzm;
++
++ /* calculate elapsed seconds since start of the epoch */
++
++ tim = tim * 60 + tm->tm_sec;
++
++ /* return number of seconds since start of the epoch */
++
++ return(tim);
++}
++
+
+ struct icaltimetype
+ icaltime_from_timet(time_t tm, int is_date)
+@@ -221,13 +291,7 @@
+ stm.tm_year = tt.year-1900;
+ stm.tm_isdst = -1;
+
+- if(tt.is_utc == 1 || tt.is_date == 1){
+- char *old_tz = set_tz("UTC");
+- t = mktime(&stm);
+- unset_tz(old_tz);
+- } else {
+- t = mktime(&stm);
+- }
++ t = make_time(&stm, 0);
+
+ return t;
+
+@@ -269,10 +333,7 @@
+ stm.tm_year = tt.year-1900;
+ stm.tm_isdst = -1;
+
+- /* Set TZ to UTC and use mktime to convert to a time_t. */
+- old_tz = set_tz ("UTC");
+- t = mktime (&stm);
+- unset_tz (old_tz);
++ t = make_time(&stm, 0);
+
+ return t;
+ }
diff --git a/mail/evolution/files/patch-ltmain.sh b/mail/evolution/files/patch-ltmain.sh
new file mode 100644
index 000000000..bb660972a
--- /dev/null
+++ b/mail/evolution/files/patch-ltmain.sh
@@ -0,0 +1,51 @@
+--- ltmain.sh.orig Thu May 22 16:42:22 2003
++++ ltmain.sh Tue May 27 12:12:52 2003
+@@ -1072,7 +1072,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd* | *-*-freebsd4*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1082,8 +1082,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2498,6 +2506,9 @@
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4325,10 +4336,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/mail/evolution/files/patch-my-evolution::e-summary-preferences.c b/mail/evolution/files/patch-my-evolution::e-summary-preferences.c
new file mode 100644
index 000000000..e7f22e6e7
--- /dev/null
+++ b/mail/evolution/files/patch-my-evolution::e-summary-preferences.c
@@ -0,0 +1,14 @@
+--- my-evolution/e-summary-preferences.c.orig Thu Oct 24 18:14:17 2002
++++ my-evolution/e-summary-preferences.c Sun Nov 24 01:23:59 2002
+@@ -581,8 +581,11 @@
+ {"http://barrapunto.com/gnome.rdf", "Barrapunto GNOME", FALSE,},
+ {"http://www.bsdtoday.com/backend/bt.rdf", "BSD Today", FALSE},
+ {"http://beyond2000.com/b2k.rdf", "Beyond 2000", FALSE},
++ {"http://daily.daemonnews.org/ddn.rdf.php3", "Daily Daemon News", FALSE},
+ {"http://www.dictionary.com/wordoftheday/wotd.rss", N_("Dictionary.com Word of the Day"), FALSE},
+ {"http://www.dvdreview.com/rss/newschannel.rss", "DVD Review", FALSE},
++ {"http://www.freebsd.org/gnome/news.rdf", "FreeBSD GNOME Project News", FALSE},
++ {"http://www.freebsd.org/news/news.rdf", "FreeBSD Newsflash", FALSE},
+ {"http://freshmeat.net/backend/fm.rdf", "Freshmeat", FALSE},
+ {"http://www.gnomedesktop.org/backend.php", "Footnotes - GNOME News", FALSE},
+ {"http://headlines.internet.com/internetnews/prod-news/news.rss", "Internet.com", FALSE},