1 |
commit: bbebf16b181f7f49539fc82a9b4a5a8276b5e550 |
2 |
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 03:06:17 2016 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 03:06:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=bbebf16b |
7 |
|
8 |
dev-libs/nss - add missing hppa-byte-order patch |
9 |
|
10 |
dev-libs/nss/files/nss-3.21-hppa-byte_order.patch | 16 ++++++++++++++++ |
11 |
1 file changed, 16 insertions(+) |
12 |
|
13 |
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 |
14 |
new file mode 100644 |
15 |
index 0000000..703df99 |
16 |
--- /dev/null |
17 |
+++ b/dev-libs/nss/files/nss-3.21-hppa-byte_order.patch |
18 |
@@ -0,0 +1,16 @@ |
19 |
+--- a/nss/lib/dbm/include/mcom_db.h |
20 |
++++ b/nss/lib/dbm/include/mcom_db.h |
21 |
+@@ -110,11 +110,13 @@ |
22 |
+ #endif /* !BYTE_ORDER */ |
23 |
+ #endif /* __sun */ |
24 |
+ |
25 |
++#ifndef BYTE_ORDER |
26 |
+ #if defined(__hpux) || defined(__hppa) |
27 |
+ #define BYTE_ORDER BIG_ENDIAN |
28 |
+ #define BIG_ENDIAN 4321 |
29 |
+ #define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */ |
30 |
+ #endif |
31 |
++#endif /* !BYTE_ORDER */ |
32 |
+ |
33 |
+ #if defined(AIXV3) || defined(AIX) |
34 |
+ /* BYTE_ORDER, LITTLE_ENDIAN, BIG_ENDIAN are all defined here */ |