summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-09-05 10:48:09 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-09-05 10:48:09 +0000
commitd8f324e40de5c0467e83d7886f7d06a6877b8496 (patch)
tree2bb941ad11e71771ce98df4ead426e282e2705d7 /dev-libs/nss/files
parent* bump (diff)
downloadhistorical-d8f324e40de5c0467e83d7886f7d06a6877b8496.tar.gz
historical-d8f324e40de5c0467e83d7886f7d06a6877b8496.tar.bz2
historical-d8f324e40de5c0467e83d7886f7d06a6877b8496.zip
backport a patch to fix build on freebsd 7
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.3 x86_64
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r--dev-libs/nss/files/nss-fbsd7.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-fbsd7.patch b/dev-libs/nss/files/nss-fbsd7.patch
new file mode 100644
index 000000000000..932f9e0ea639
--- /dev/null
+++ b/dev-libs/nss/files/nss-fbsd7.patch
@@ -0,0 +1,16 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=436806
+
+objformat has been deprecated for a while. elf has been the default format for
+FreeBSD for a while too. objformat is gone from FreeBSD 7, so we default to elf.
+
+--- nss-3.12/mozilla/security/coreconf/FreeBSD.mk.old 2008-09-05 11:38:11 +0200
++++ nss-3.12/mozilla/security/coreconf/FreeBSD.mk 2008-09-05 11:38:28 +0200
+@@ -65,7 +65,7 @@
+
+ ARCH = freebsd
+
+-MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout)
++MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo elf)
+
+ ifeq ($(MOZ_OBJFORMAT),elf)
+ DLL_SUFFIX = so