Upstream libtool patch to support following bugfix for -Bdirect on SunOS

Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1645
see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
This commit is contained in:
richard 2014-05-10 13:35:10 +00:00
parent 9d33d564f6
commit fe25d9f941
2 changed files with 14 additions and 3 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.91 2014/05/10 13:29:41 richard Exp $
$NetBSD: distinfo,v 1.92 2014/05/10 13:35:10 richard Exp $
SHA1 (libtool-2.4.2.tar.gz) = 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
RMD160 (libtool-2.4.2.tar.gz) = b7153f3f1e1c50d8c04787cafccd4e19af62ec7d
Size (libtool-2.4.2.tar.gz) = 2632347 bytes
SHA1 (patch-aa) = 8fa167bebf27b7bc3008edd61408a0aede6bdf69
SHA1 (patch-ab) = 40452951d28dd52f70c66185568a132ae5852f2f
SHA1 (patch-ac) = 9e0e79308e78ceabfa5766fb1562c723796be85d
SHA1 (patch-ac) = 0e9503ece879b59cf9f90c85e3b0347fe132d2a3
SHA1 (patch-ad) = bfb7ea5e36a0dd770ce7fdc18422269b25f90d02

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ac,v 1.29 2014/05/10 13:29:41 richard Exp $
$NetBSD: patch-ac,v 1.30 2014/05/10 13:35:10 richard Exp $
--- libltdl/config/ltmain.sh.orig 2011-10-17 10:19:35.000000000 +0000
+++ libltdl/config/ltmain.sh
@ -14,6 +14,17 @@ $NetBSD: patch-ac,v 1.29 2014/05/10 13:29:41 richard Exp $
: ${CP="cp -f"}
test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
: ${MAKE="make"}
@@ -1180,7 +1181,9 @@ func_enable_tag "$optarg"
test "$opt_debug" = : || func_append preserve_args " --debug"
case $host in
- *cygwin* | *mingw* | *pw32* | *cegcc*)
+ # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1645
+ # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
+ *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* )
# don't eliminate duplications in $postdeps and $predeps
opt_duplicate_compiler_generated_deps=:
;;
@@ -5847,13 +5850,14 @@ func_mode_link ()
# -m*, -t[45]*, -txscale* architecture-specific flags for GCC
# -F/path path to uninstalled frameworks, gcc on darwin