summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-10-28 23:11:37 +0000
committermycroft <mycroft@pkgsrc.org>2000-10-28 23:11:37 +0000
commit7ff05d716c864937cf18cb14132fb7e9d4ce9b5a (patch)
tree9ab3fbc3deb31ad167d2bf9f0d783f66c93e09a8 /www
parent90598e3fd665e7eabd5cef57e80b0567b159f750 (diff)
downloadpkgsrc-7ff05d716c864937cf18cb14132fb7e9d4ce9b5a.tar.gz
For a.out systems, link component with -Bsymbolic. Otherwise some intra-module
symbols resolve incorrectly (e.g. the RegisterSelf methods in the converter modules). This *almost* fixes Mozilla on arm32...
Diffstat (limited to 'www')
-rw-r--r--www/mozilla/files/patch-sum3
-rw-r--r--www/mozilla/patches/patch-ag23
2 files changed, 25 insertions, 1 deletions
diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum
index 0e3f8694402..53c457773ab 100644
--- a/www/mozilla/files/patch-sum
+++ b/www/mozilla/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.19 2000/10/28 18:55:25 mycroft Exp $
+$NetBSD: patch-sum,v 1.20 2000/10/28 23:11:37 mycroft Exp $
MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f
MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d
@@ -6,3 +6,4 @@ MD5 (patch-ac) = e06e6cb1261f97e6fec8b04cdf4cb0a1
MD5 (patch-ad) = 3bab27aefd274a609c901049f722bb41
MD5 (patch-ae) = 925a6dc3b7354f0c82a7e2411463617e
MD5 (patch-af) = 316103ca86d2a079d940cff8102849f1
+MD5 (patch-ag) = 713e19ae0123ce596fe28676ed34b0a8
diff --git a/www/mozilla/patches/patch-ag b/www/mozilla/patches/patch-ag
new file mode 100644
index 00000000000..75214fa1164
--- /dev/null
+++ b/www/mozilla/patches/patch-ag
@@ -0,0 +1,23 @@
+$NetBSD: patch-ag,v 1.6 2000/10/28 23:11:38 mycroft Exp $
+
+--- config/rules.mk.orig Sat Oct 28 16:07:27 2000
++++ config/rules.mk Sat Oct 28 16:07:02 2000
+@@ -354,6 +354,18 @@
+ endif
+
+ #
++# On NetBSD a.out systems, use -Bsymbolic. This fixes what would otherwise be
++# fatal symbol name clashes between components.
++#
++ifeq ($(OS_ARCH),NetBSD)
++ifneq (,$(filter amiga arm32 atari hp300 mac68k mvme68k next68k sun3 sun3x x68k,$(OS_TEST)))
++ifdef IS_COMPONENT
++EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
++endif
++endif
++endif
++
++#
+ # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
+ # which uses internal symbols first
+ #