summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-02-17 06:49:42 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-02-17 06:49:42 +0000
commit6a3286023f2f83b2139c999abc0de66af490dfdd (patch)
treeeafaa2028e6508e74683fa8ae289bc055f5183a8 /dev-libs/nss/files
parentAdded ~mips to keywords. (diff)
downloadhistorical-6a3286023f2f83b2139c999abc0de66af490dfdd.tar.gz
historical-6a3286023f2f83b2139c999abc0de66af490dfdd.tar.bz2
historical-6a3286023f2f83b2139c999abc0de66af490dfdd.zip
Added a patch to allow mips to build and added ~mips keyword.
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r--dev-libs/nss/files/nss-3.8-mips.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.8-mips.patch b/dev-libs/nss/files/nss-3.8-mips.patch
new file mode 100644
index 000000000000..d95fb0a8da3a
--- /dev/null
+++ b/dev-libs/nss/files/nss-3.8-mips.patch
@@ -0,0 +1,21 @@
+--- mozilla/security/coreconf/Linux.mk.orig 2003-11-02 12:20:10.000000000 -0500
++++ mozilla/security/coreconf/Linux.mk 2003-11-02 12:25:23.000000000 -0500
+@@ -90,6 +90,10 @@
+ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
+ CPU_ARCH = s390x
+ else
++ifeq ($(OS_TEST),mips)
++ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
++ CPU_ARCH = mips
++else
+ OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
+ CPU_ARCH = x86
+ endif
+@@ -102,6 +106,7 @@
+ endif
+ endif
+ endif
++endif
+
+
+ LIBC_TAG = _glibc