aboutsummaryrefslogtreecommitdiffstats
path: root/mail/thunderbird3/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-05-04 03:10:34 +0800
committermarcus <marcus@FreeBSD.org>2004-05-04 03:10:34 +0800
commit170ea3e100417c226b643f5f0f824eb04eacd2e3 (patch)
treefee6fc78e746af3169b2b2629ea346445ebb9daf /mail/thunderbird3/files
parent2ce22029316ed607f913028d35ba8ee1ffb4c98c (diff)
downloadfreebsd-ports-graphics-170ea3e100417c226b643f5f0f824eb04eacd2e3.tar.gz
freebsd-ports-graphics-170ea3e100417c226b643f5f0f824eb04eacd2e3.tar.zst
freebsd-ports-graphics-170ea3e100417c226b643f5f0f824eb04eacd2e3.zip
Update to 0.6. The list of all that is good in this release can be found at:
http://www.mozilla.org/products/thunderbird/releases/
Diffstat (limited to 'mail/thunderbird3/files')
-rw-r--r--mail/thunderbird3/files/patch-config_preprocess.pl56
-rw-r--r--mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h30
-rw-r--r--mail/thunderbird3/files/patch-nsprpub-pr-src-io-prprf.c14
-rw-r--r--mail/thunderbird3/files/patch-xpcom-reflect-xptcall-public-xptcstubsdecl.inc10
4 files changed, 13 insertions, 97 deletions
diff --git a/mail/thunderbird3/files/patch-config_preprocess.pl b/mail/thunderbird3/files/patch-config_preprocess.pl
deleted file mode 100644
index 390f4700dd5..00000000000
--- a/mail/thunderbird3/files/patch-config_preprocess.pl
+++ /dev/null
@@ -1,56 +0,0 @@
---- config/preprocessor.pl.orig Fri Oct 24 18:17:32 2003
-+++ config/preprocessor.pl Sun Dec 7 15:17:57 2003
-@@ -76,16 +76,40 @@
- ########################################################################
-
- package main;
--use File::Spec 0.8;
-+use File::Spec;
- use File::Spec::Unix; # on all platforms, because the #include syntax is unix-based
-+use File::Basename;
-+use Cwd;
-+
-+# This code is taken from File::Spec::Unix 0.8.
-+sub rel2abs {
-+ my ($path, $base) = @_;
-+
-+ if ( ! File::Spec->file_name_is_absolute( $path ) ) {
-+ if ( !defined( $base ) || $base eq '' ) {
-+ $base = cwd() ;
-+ }
-+ elsif ( ! File::Spec->file_name_is_absolute( $base ) ) {
-+ $base = rel2abs( $base );
-+ }
-+ else {
-+ $base = File::Spec->canonpath( $base );
-+ }
-+
-+ $path = File::Spec->catdir( $base, $path );
-+ }
-+
-+ return File::Spec->canonpath( $path );
-+}
-+# End code from File::Spec::Unix
-+
-
- sub include {
- my($stack, $filename) = @_;
- my $directory = $stack->{'variables'}->{'DIRECTORY'};
- if ($filename ne '-') {
-- $filename = File::Spec->rel2abs($filename, $directory);
-- my($volume, $path) = File::Spec->splitpath($filename);
-- $directory = File::Spec->catpath($volume, $path, '');
-+ $filename = rel2abs($filename, $directory);
-+ $directory = File::Spec->catdir(dirname($filename));
- }
- local $stack->{'variables'}->{'DIRECTORY'} = $directory;
- local $stack->{'variables'}->{'FILE'} = $filename;
-@@ -395,7 +419,7 @@
- my $stack = shift;
- return if $stack->disabled;
- die "argument expected\n" unless @_;
-- my $filename = File::Spec->catpath(File::Spec::Unix->splitpath(@_));
-+ my $filename = File::Spec->catpath(dirname(@_), basename(@_));
- if ($stack->{'dependencies'}) {
- $stack->visit($filename);
- } else {
diff --git a/mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h b/mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h
deleted file mode 100644
index edc10f32f82..00000000000
--- a/mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h
+++ /dev/null
@@ -1,30 +0,0 @@
---- directory/c-sdk/ldap/libraries/liblber/lber-int.h Tue Mar 26 13:53:23 2002
-+++ directory/c-sdk/ldap/libraries/liblber/lber-int.h Sat Dec 13 13:02:49 2003
-@@ -236,15 +236,15 @@
- (((_l)&0xff0000)>>8) + (((_l)&0xff000000)>>24))
- #define LBER_NTOHL(_l) LBER_HTONL(_l)
-
--#elif !defined(__alpha) || defined(VMS)
-+#elif !defined(__amd64__) && (!defined(__alpha) || defined(VMS))
-
- #define LBER_HTONL( l ) htonl( l )
- #define LBER_NTOHL( l ) ntohl( l )
-
- #else /* __alpha */
- /*
-- * htonl and ntohl on the DEC Alpha under OSF 1 seem to only swap the
-- * lower-order 32-bits of a (64-bit) long, so we define correct versions
-+ * htonl and ntohl on the 64 bit UNIX platforms only swap the lower-order
-+ * 32-bits of a (64-bit) long, so we define correct versions
- * here.
- */
- #define LBER_HTONL( l ) (((long)htonl( (l) & 0x00000000FFFFFFFF )) << 32 \
-@@ -252,7 +252,7 @@
-
- #define LBER_NTOHL( l ) (((long)ntohl( (l) & 0x00000000FFFFFFFF )) << 32 \
- | ntohl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))
--#endif /* __alpha */
-+#endif /* __alpha || __amd64__ */
-
-
- /* function prototypes */
diff --git a/mail/thunderbird3/files/patch-nsprpub-pr-src-io-prprf.c b/mail/thunderbird3/files/patch-nsprpub-pr-src-io-prprf.c
index 8c48ad1e08f..74a85ce8b5e 100644
--- a/mail/thunderbird3/files/patch-nsprpub-pr-src-io-prprf.c
+++ b/mail/thunderbird3/files/patch-nsprpub-pr-src-io-prprf.c
@@ -1,12 +1,14 @@
---- nsprpub/pr/src/io/prprf.c Wed Feb 26 15:53:42 2003
-+++ nsprpub/pr/src/io/prprf.c Thu Oct 16 22:50:40 2003
-@@ -52,5 +52,8 @@
+--- nsprpub/pr/src/io/prprf.c.orig Mon Mar 8 22:18:19 2004
++++ nsprpub/pr/src/io/prprf.c Mon May 3 13:00:27 2004
+@@ -51,7 +51,10 @@
+ ** Note: on some platforms va_list is defined as an array,
** and requires array notation.
*/
--#if (defined(LINUX) && defined(__powerpc__)) || \
+-#if (defined(LINUX) && defined(__x86_64__))
+#if defined(__amd64__)
+#include <stdarg.h>
+#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar))
-+#elif (defined(LINUX) && defined(__powerpc__)) || \
++#elif (defined(LINUX) && defined(__x86_64__))
+ #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar))
+ #elif (defined(LINUX) && defined(__powerpc__)) || \
(defined(LINUX) && defined(__s390__)) || \
- (defined(LINUX) && defined(__s390x__)) || \
diff --git a/mail/thunderbird3/files/patch-xpcom-reflect-xptcall-public-xptcstubsdecl.inc b/mail/thunderbird3/files/patch-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
index 94ae99042c4..ac8cab896d4 100644
--- a/mail/thunderbird3/files/patch-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
+++ b/mail/thunderbird3/files/patch-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
@@ -1,11 +1,11 @@
---- xpcom/reflect/xptcall/public/xptcstubsdecl.inc.orig Sun Feb 1 15:39:59 2004
-+++ xpcom/reflect/xptcall/public/xptcstubsdecl.inc Sun Feb 1 15:40:11 2004
+--- xpcom/reflect/xptcall/public/xptcstubsdecl.inc.orig Tue Mar 16 03:07:25 2004
++++ xpcom/reflect/xptcall/public/xptcstubsdecl.inc Mon May 3 13:05:12 2004
@@ -8,7 +8,7 @@
* 1 is AddRef
* 2 is Release
*/
-#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
+#if !defined(__ia64)
- XPTC_EXPORT NS_IMETHOD Stub3();
- XPTC_EXPORT NS_IMETHOD Stub4();
- XPTC_EXPORT NS_IMETHOD Stub5();
+ NS_IMETHOD Stub3();
+ NS_IMETHOD Stub4();
+ NS_IMETHOD Stub5();