summaryrefslogtreecommitdiff
path: root/mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-28 01:14:52 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-28 01:14:52 +0000
commit68e3c7d8e1336ebc30ea81f1604d4615efed5aee (patch)
tree49791b022cb415ec439de7592217e20ea487db02 /mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h
parent[PATCH] ports/emulators/fmsx is outdated, update supplied (diff)
* Update to 0.5
* Fix a potential hang with esound * Fix some potential pthread issues * Add more platform compatibility patches * Fix libiconv support * Pull in some patches from firefox to shorten the plist some Special thanks to ale for getting a clean source tarball and hosting it. For the details on what's new in the release, please see: http://www.mozilla.org/projects/thunderbird/release-notes.html
Notes
Notes: svn path=/head/; revision=102336
Diffstat (limited to 'mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h')
-rw-r--r--mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h b/mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h
new file mode 100644
index 000000000000..edc10f32f824
--- /dev/null
+++ b/mail/thunderbird-devel/files/patch-directory-c-sdk-ldap-libraries-liblber-lber-int.h
@@ -0,0 +1,30 @@
+--- 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 */