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
commit43431f5683886ff260feb522332890caeb253289 (patch)
tree645a417b54468e225f5335ce5bafa183310207f7 /dev-libs/nss/files
parent* bump (diff)
downloadgentoo-2-43431f5683886ff260feb522332890caeb253289.tar.gz
gentoo-2-43431f5683886ff260feb522332890caeb253289.tar.bz2
gentoo-2-43431f5683886ff260feb522332890caeb253289.zip
backport a patch to fix build on freebsd 7
(Portage version: 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