Change 19922 by [EMAIL PROTECTED] on 2003/07/02 05:43:27

        Integrate:
        [ 19920]
        Move the libgcc.a hack into a section for pre-1.6 NetBSD releases.
        The latest releases of NetBSD don't require the hack.  From
        Johnny Lam.            
        
        [ 19921]
        VMS: with this, 100% make test in Compaq C V6.5-001
        on OpenVMS Alpha V7.3-1, from Craig Berry.

Affected files ...

... //depot/maint-5.8/perl/configure.com#16 integrate
... //depot/maint-5.8/perl/ext/Devel/DProf/DProf.t#2 integrate
... //depot/maint-5.8/perl/hints/netbsd.sh#3 integrate
... //depot/maint-5.8/perl/t/op/magic.t#14 integrate

Differences ...

==== //depot/maint-5.8/perl/configure.com#16 (text) ====
Index: perl/configure.com
--- perl/configure.com#15~19919~        Tue Jul  1 14:28:15 2003
+++ perl/configure.com  Tue Jul  1 22:43:27 2003
@@ -5376,6 +5376,7 @@
 $ WC "d_msync='" + d_msync + "'"
 $ WC "d_munmap='" + d_munmap + "'"
 $ WC "d_mymalloc='" + d_mymalloc + "'"
+$ WC "d_nanosleep='undef'"
 $ WC "d_nice='define'"
 $ WC "d_nl_langinfo='" + d_nl_langinfo + "'"
 $ WC "d_nv_preserves_uv='" + d_nv_preserves_uv + "'"

==== //depot/maint-5.8/perl/ext/Devel/DProf/DProf.t#2 (text) ====
Index: perl/ext/Devel/DProf/DProf.t
--- perl/ext/Devel/DProf/DProf.t#1~17645~       Fri Jul 19 12:29:57 2002
+++ perl/ext/Devel/DProf/DProf.t        Tue Jul  1 22:43:27 2003
@@ -58,7 +58,7 @@
                print @results
        }
 
-        print '# ',timestr( $t_total, 'nop' ), "\n";
+        print '# ' . timestr( $t_total, 'nop' ), "\n";
 }
 
 

==== //depot/maint-5.8/perl/hints/netbsd.sh#3 (text) ====
Index: perl/hints/netbsd.sh
--- perl/hints/netbsd.sh#2~18080~       Sun Nov  3 21:23:04 2002
+++ perl/hints/netbsd.sh        Tue Jul  1 22:43:27 2003
@@ -37,16 +37,21 @@
                cccdlflags="-DPIC -fPIC $cccdlflags"
                lddlflags="--whole-archive -shared $lddlflags"
                rpathflag="-Wl,-rpath,"
-               #
-               # Include the whole libgcc.a into the perl executable so
-               # that certain symbols needed by loadable modules built as
-               # C++ objects (__eh_alloc, __pure_virtual, etc.) will always
-               # be defined.
-               #
-               # XXX This should be obsoleted by gcc-3.0.
-               #
-               ccdlflags="-Wl,-whole-archive -lgcc -Wl,-no-whole-archive \
-                       -Wl,-E $ccdlflags"
+               case "$osvers" in
+               1.[0-5]*)
+                       #
+                       # Include the whole libgcc.a into the perl executable
+                       # so that certain symbols needed by loadable modules
+                       # built as C++ objects (__eh_alloc, __pure_virtual,
+                       # etc.) will always be defined.
+                       #
+                       ccdlflags="-Wl,-whole-archive -lgcc \
+                               -Wl,-no-whole-archive -Wl,-E $ccdlflags"
+                       ;;
+               *)
+                       ccdlflags="-Wl,-E $ccdlflags"
+                       ;;
+               esac
        elif test -f /usr/libexec/ld.so; then
                # a.out
                d_dlopen=$define

==== //depot/maint-5.8/perl/t/op/magic.t#14 (xtext) ====
Index: perl/t/op/magic.t
--- perl/t/op/magic.t#13~19919~ Tue Jul  1 14:28:15 2003
+++ perl/t/op/magic.t   Tue Jul  1 22:43:27 2003
@@ -264,7 +264,7 @@
 ok $^T > 850000000, $^T;
 
 if ($Is_VMS || $Is_Dos || $Is_MacOS) {
-    skip("%ENV manipulations fail or aren't safe on $^O") for 1..3;
+    skip("%ENV manipulations fail or aren't safe on $^O") for 1..4;
 }
 else {
        $PATH = $ENV{PATH};
End of Patch.

Reply via email to