diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-12-25 16:38:46 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-12-25 16:39:05 +0100 |
commit | 6cdfec22408db7f818d559bae8d53e656e5ec364 (patch) | |
tree | d0b3535251ae6160f6eb685e5fb402f3337d568f /dev-libs/nss | |
parent | app-admin/monit: amd64 stable wrt bug #564858 (diff) | |
download | gentoo-6cdfec22408db7f818d559bae8d53e656e5ec364.tar.gz gentoo-6cdfec22408db7f818d559bae8d53e656e5ec364.tar.bz2 gentoo-6cdfec22408db7f818d559bae8d53e656e5ec364.zip |
dev-libs/nss: Fix some definitions for HPPA.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/nss')
-rw-r--r-- | dev-libs/nss/files/nss-3.21-hppa-byte_order.patch | 16 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.21-r1.ebuild | 2 |
2 files changed, 18 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 000000000000..703df99c7645 --- /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 */ diff --git a/dev-libs/nss/nss-3.21-r1.ebuild b/dev-libs/nss/nss-3.21-r1.ebuild index 06f3df4cf297..fe74af8afeba 100644 --- a/dev-libs/nss/nss-3.21-r1.ebuild +++ b/dev-libs/nss/nss-3.21-r1.ebuild @@ -52,6 +52,8 @@ src_prepare() { # Custom changes for gentoo epatch "${FILESDIR}/${PN}-3.21-gentoo-fixups.patch" epatch "${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch" + epatch "${FILESDIR}/${PN}-3.21-hppa-byte_order.patch" + if use cacert ; then epatch "${DISTDIR}/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch" epatch "${FILESDIR}/${PN}-3.21-cacert-class3.patch" #521462 |