diff options
author | Jory A. Pratt <anarchy@gentoo.org> | 2016-02-17 21:06:17 -0600 |
---|---|---|
committer | Jory A. Pratt <anarchy@gentoo.org> | 2016-02-17 21:06:17 -0600 |
commit | bbebf16b181f7f49539fc82a9b4a5a8276b5e550 (patch) | |
tree | 6746d53e36192259e074f45876a9683a281996dd /dev-libs | |
parent | www-client/firefox-44.0.2: bump nss dependency to >=3.21 (diff) | |
download | mozilla-bbebf16b181f7f49539fc82a9b4a5a8276b5e550.tar.gz mozilla-bbebf16b181f7f49539fc82a9b4a5a8276b5e550.tar.bz2 mozilla-bbebf16b181f7f49539fc82a9b4a5a8276b5e550.zip |
dev-libs/nss - add missing hppa-byte-order patch
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/nss/files/nss-3.21-hppa-byte_order.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.21-hppa-byte_order.patch b/dev-libs/nss/files/nss-3.21-hppa-byte_order.patch new file mode 100644 index 00000000..703df99c --- /dev/null +++ b/dev-libs/nss/files/nss-3.21-hppa-byte_order.patch @@ -0,0 +1,16 @@ +--- a/nss/lib/dbm/include/mcom_db.h ++++ b/nss/lib/dbm/include/mcom_db.h +@@ -110,11 +110,13 @@ + #endif /* !BYTE_ORDER */ + #endif /* __sun */ + ++#ifndef BYTE_ORDER + #if defined(__hpux) || defined(__hppa) + #define BYTE_ORDER BIG_ENDIAN + #define BIG_ENDIAN 4321 + #define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */ + #endif ++#endif /* !BYTE_ORDER */ + + #if defined(AIXV3) || defined(AIX) + /* BYTE_ORDER, LITTLE_ENDIAN, BIG_ENDIAN are all defined here */ |