summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormartin <martin>2000-12-16 09:45:57 +0000
committermartin <martin>2000-12-16 09:45:57 +0000
commit589fb9b65363e4f46f8683af0c23b4b9109cb7f4 (patch)
tree3a699508fedf54357da78a7a70f3571b0d64cc3b /www
parentb3ec2601eae1c34a5a2da831dcfcb5e8f51c41e3 (diff)
downloadpkgsrc-589fb9b65363e4f46f8683af0c23b4b9109cb7f4.tar.gz
Back out patch-ab revision 1.12 again.
Charles fixed the a.out toolchain bug (in ld) that caused the problems this change tried to work around. Update your toolchain if it breaks for you. (Pullup of the toolchain changes to 1.4 and 1.5 has already been requested.)
Diffstat (limited to 'www')
-rw-r--r--www/mozilla/files/patch-sum4
-rw-r--r--www/mozilla/patches/patch-ab26
2 files changed, 14 insertions, 16 deletions
diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum
index 5fcd4488910..97fdc5d7cc3 100644
--- a/www/mozilla/files/patch-sum
+++ b/www/mozilla/files/patch-sum
@@ -1,7 +1,7 @@
-$NetBSD: patch-sum,v 1.38 2000/12/15 08:25:30 martin Exp $
+$NetBSD: patch-sum,v 1.39 2000/12/16 09:45:57 martin Exp $
MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f
-MD5 (patch-ab) = 2f3494ebc4c115ce359fee85fb6da34e
+MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d
MD5 (patch-ac) = 37c5e93a87f43262c38c9fe46a513740
MD5 (patch-ad) = 20c5cd3f70cae6cca5b1f3eff4421f8b
MD5 (patch-ae) = 576be09ebce960ac0d970c3a80b8591e
diff --git a/www/mozilla/patches/patch-ab b/www/mozilla/patches/patch-ab
index 1931cc24597..d603ad63e4e 100644
--- a/www/mozilla/patches/patch-ab
+++ b/www/mozilla/patches/patch-ab
@@ -1,7 +1,8 @@
-$NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
+$NetBSD: patch-ab,v 1.15 2000/12/16 09:45:57 martin Exp $
---- configure.in.orig Sat Sep 30 23:16:13 2000
-+++ configure.in Wed Dec 13 10:11:27 2000
+diff -ru /usr/local/src/mozilla/configure.in ./configure.in
+--- /usr/local/src/mozilla/configure.in Sun Oct 1 15:16:13 2000
++++ ./configure.in Fri Oct 13 11:23:07 2000
@@ -360,8 +360,6 @@
TARGET_MD_ARCH=unix
DIRENT_INO=d_ino
@@ -11,7 +12,7 @@ $NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
MOZ_JPEG_CFLAGS=
MOZ_JPEG_LIBS='-L$(DIST)/lib -ljpeg'
-@@ -705,31 +703,26 @@
+@@ -705,31 +703,24 @@
if $CC -E - -dM </dev/null | grep __ELF__ >/dev/null; then
DLL_SUFFIX=".so"
DSO_PIC_CFLAGS='-fPIC -DPIC'
@@ -19,21 +20,18 @@ $NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
- SHLIB_LDSTARTFILE=/usr/lib/crtbeginS.o
- SHLIB_LDENDFILE=/usr/lib/crtendS.o
+ DSO_LDOPTS='-shared -Wl,-soname,lib$(LIBRARY_NAME)$(DLL_SUFFIX)'
-+ MKSHLIB_FORCE_ALL='-Wl,--whole-archive'
-+ MKSHLIB_UNFORCE_ALL='-Wl,--no-whole-archive'
else
DSO_PIC_CFLAGS='-fPIC -DPIC'
DLL_SUFFIX=".so.1.0"
- DSO_LDOPTS='-x -shared'
- SHLIB_LDSTARTFILE=/usr/lib/c++rt0.o
+ DSO_LDOPTS='-shared'
-+ MKSHLIB_FORCE_ALL=''
-+ MKSHLIB_UNFORCE_ALL=''
-+ # a.out ignores --no-whole-archive; using --whole-archive breaks link
fi
-- # At least for 1.3 and up, ld supports this, despite the test failing above.
+ # At least for 1.3 and up, ld supports this, despite the test failing above.
- MKSHLIB_FORCE_ALL='--whole-archive'
- MKSHLIB_UNFORCE_ALL='--no-whole-archive'
++ MKSHLIB_FORCE_ALL='-Wl,--whole-archive'
++ MKSHLIB_UNFORCE_ALL='-Wl,--no-whole-archive'
case $OS_TEST in
alpha)
dnl NetBSD/alpha can't find a shared lib
@@ -51,7 +49,7 @@ $NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
fi
;;
-@@ -981,8 +974,6 @@
+@@ -981,8 +972,6 @@
dnl See above (netbsd)
AC_SUBST(NEED_BASE_DLL_NAME_ALSO)
@@ -60,7 +58,7 @@ $NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
dnl Only one oddball right now (QNX), but this gives us flexibility
dnl if any other platforms need to override this in the future.
-@@ -1195,12 +1186,6 @@
+@@ -1195,12 +1184,6 @@
AM_PATH_GTK($GTK_VERSION,,
AC_MSG_ERROR(Test for GTK failed.))
@@ -73,7 +71,7 @@ $NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
dnl ========================================================
dnl = =
dnl = --with-java-supplement =
-@@ -1691,13 +1676,6 @@
+@@ -1691,13 +1674,6 @@
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
@@ -87,7 +85,7 @@ $NetBSD: patch-ab,v 1.14 2000/12/15 08:23:46 martin Exp $
dnl Checks for typedefs, structures, and compiler characteristics.
dnl ========================================================
AC_C_CONST
-@@ -2046,6 +2024,9 @@
+@@ -2046,6 +2022,9 @@
CXXFLAGS="$CXXFLAGS -mt"
fi
;;