diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/nss/files/nss-3.23-hppa-byte_order.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/nss/files/nss-3.23-hppa-byte_order.patch')
-rw-r--r-- | dev-libs/nss/files/nss-3.23-hppa-byte_order.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.23-hppa-byte_order.patch b/dev-libs/nss/files/nss-3.23-hppa-byte_order.patch new file mode 100644 index 000000000000..63cfaddb808c --- /dev/null +++ b/dev-libs/nss/files/nss-3.23-hppa-byte_order.patch @@ -0,0 +1,16 @@ +--- nss/lib/dbm/include/mcom_db.h ++++ 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 */ |